derpunker Posted December 11, 2022 Posted December 11, 2022 Dear IPS support, closing a guest topic doesn't work as expected. Prerequisites Topic created by a user which was in the meantime deleted => Try to close/lock the topic. You see this broken dialog below. Important hint: This happens only when using the "Moderation actions" at the bottom of the page. The upper one are working as expected. Please have look. Latest IPS 4.7.5 installed All hooks/custom apps disabled
Daniel F Posted December 11, 2022 Posted December 11, 2022 Is this also happening with a new unmodified style?
derpunker Posted December 11, 2022 Author Posted December 11, 2022 (edited) Yes Edited December 11, 2022 by derpunker
Jim M Posted December 11, 2022 Posted December 11, 2022 Unfortunately, I cannot reproduce this on my plain test instance so I would recommend checking to ensure that you have all third-party applications/plugins disabled and test again on an unmodified theme. If you're still getting errors, please check if you have mod_security enabled on the server and temporarily disable to test again.
Nathan Explosion Posted December 11, 2022 Posted December 11, 2022 (edited) 1 hour ago, Jim M said: Unfortunately, I cannot reproduce this on my plain test instance Reproduced it straight away... Login as "User A" Create a topic as "User A" Log back in as an admin Go to the ACP and delete "User A" Go back to the topic Using the "Moderation Actions" above the topic, lock the topic. Locks as expected Using the "Moderation Actions" above the topic, unlock the topic. Unlocks as expected Using the "Moderation Actions" below the topic, lock the topic. You get a prompt as per first screenshot The topic is however locked Do a lock on a topic whose user hasn't been deleted and you'll see that the dialog box would normally contain a single option to "send an alert to....", which would logically be unnecessary for a deleted user so a dialog isn't needed. However, because there are dialog elements in the link HTML in the lower menu then you're going to get a dialog with the results of the AJAX call -> "OK" as opposed to the action alone being performed. There are no dialog elements in the link HTML code in the higher menu. Edited December 11, 2022 by Nathan Explosion Marc and SeNioR- 2
Marc Posted December 12, 2022 Posted December 12, 2022 I got it, cheers Nathan. Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release. SeNioR- 1
Marc Posted January 10, 2023 Posted January 10, 2023 This has now been resolved in our latest 4.7.6 release. Please upgrade to that release if you are seeing this issue. If you have the same problem after upgrading, please let us know.
Recommended Posts