Ticket #13740 (confirmed Bug)

Opened 3 years ago

Last modified 22 months ago

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

Change History

comment:1 Changed 22 months ago by cwainwright

  • Status changed from new to confirmed

I confirm I have seen this on several Plone 4 sites.

Note: See TracTickets for help on using tickets.