Ticket #13740 (confirmed Bug)
object_rename doesn't pass ajax_load request variable
Reported by: | huub_bouma | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Unknown | Version: | 4.3 |
Keywords: | Cc: |
Description
the object_rename.py script does a redirect to folder_rename_form. However the ajax_load request variable isn't passed on. This results in the folder_rename_form being rendered as a complete page, including the left and right portlets, which I think is a bug.
In my case I have a javascript banner in a right column, which apparently conflicts with the popover rename form. If I change the object_rename.py script and add the ajax_load to the URL everything works fine.
I've added the following 3 lines of code just before the redirect is happening:
ajax_load=REQUEST.get('ajax_load') if ajax_load: url += "&ajax_load=%s" % ajax_load
and this fixes the problem for me.
Cheers, Huub
Note: See
TracTickets for help on using
tickets.
I confirm I have seen this on several Plone 4 sites.