Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

folder_contents view add contents in parent folder #174

Open
skillfully opened this issue Dec 10, 2018 · 0 comments
Open

folder_contents view add contents in parent folder #174

skillfully opened this issue Dec 10, 2018 · 0 comments

Comments

@skillfully
Copy link

skillfully commented Dec 10, 2018

Adding new content in folder_contents view results in new content in the parent folder. For example, actual path is /a/b/c and adding new content "d", the expected path of "d" is /a/b/c/d, but the real result is /a/b/d.

Environment:

  • Plone 5.1.2.1 (5112)
  • CMF 2.2.12
  • Zope 2.13.27
  • Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609]
  • PIL 4.3.0 (Pillow)

Looking at the developer network tab, I saw that @@fc-contextInfo is called multiple times. The response includes the wrong path informations for the add menu and the following responses include the right path informations, but they are not use for the add menu.
I've added an HAR-file (renamed to txt) of these network communication.
plone.app.content.txt

The issue is taking place for the first site request. If you force a page reload (e.g. hit "F5") the paths of the add menu are correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant