plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
254 stars 191 forks source link

folder_content JS broken, does not update context #2452

Closed MrTango closed 6 years ago

MrTango commented 6 years ago

Bug

The folder_content view does not update the context in the toolbar and in the breadcrumbs.

I can see the following JS error in the console:

TypeError: t.$el.parent.replaceWith is not a function

What I did:

change folder in forder_content

What I expect to happen:

the toolbar and breadcrumb reflects the chnages

What actually happened:

The toolbar and breadcrumb still has the old context and therefor did not update the add menu correctly.

What version of Plone/ Addons I am using:

Plone5.1-latest:

Plone 5.1.2.1 (5112)

MrTango commented 6 years ago

I could reproduce this in two separate installations.

tomgross commented 6 years ago

This is a duplicate of #2395