You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the front page of a new Plone site, create a link in the wysiwyg and use the Internal option
What I expect to happen:
I expect the "Current path" to start from the page's container.
What actually happened:
The base path starts from the front page. This effectively means that none of my searches will work until I change the "current path"
I believe the problem is actually in plone.app.widget.utils. The get_relateditems_options function there does attempt to check if the current base path context is folderish, but I believe it does so insufficiently.
(Pdb) base_path_context
<Document at /ootb/front-page used for /ootb/front-page>
(Pdb) aq_parent(base_path_context)
<Document at /ootb/front-page>
So obviously in this case aq_parent doesn't actually yield the container.
What version of Plone/ Addons I am using:
Plone 5.1.4
The text was updated successfully, but these errors were encountered:
I close the issue, because it addresses a Plone version that is no longer supported.
If you think this is wrong please reopen the issue and assign a matching milestone.
What I did:
On the front page of a new Plone site, create a link in the wysiwyg and use the Internal option
What I expect to happen:
I expect the "Current path" to start from the page's container.
What actually happened:
The base path starts from the front page. This effectively means that none of my searches will work until I change the "current path"
I believe the problem is actually in plone.app.widget.utils. The get_relateditems_options function there does attempt to check if the current base path context is folderish, but I believe it does so insufficiently.
So obviously in this case aq_parent doesn't actually yield the container.
What version of Plone/ Addons I am using:
Plone 5.1.4
The text was updated successfully, but these errors were encountered: