Ticket #4344 (closed Bug: fixed)
Opened 9 years ago
folder_delete breaks IE if too many objects are deleted
|Reported by:||Anonymous User||Owned by:|
Not Uploaded Due To Size:
When a lot (tested with 100) of objects are deleted from a folder, Plone will generate a humongous portal_status_message, consisting of all titles concatenated together. This portal_status_message is then used as a query-string for a URL that the client is redirected to. This makes that, given enough titles, the URL becomes longer than the client can/wants to handle (in our case IE, FF doesn't seem affected by this problem, it just displays the full message), resulting in a nasty IE error page (something like 'Cannot find server or DNS error').
Patch included, which checks for the amount of deleted objects and displays a message without the titles if they are > 10 (currently hard-coded). This patch should be applied to CMFPlone/skins/plone_scripts/folder_delete.cpy.