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

Fallback to default view is broken #2645

Closed
gbastien opened this issue Dec 4, 2018 · 0 comments
Closed

Fallback to default view is broken #2645

gbastien opened this issue Dec 4, 2018 · 0 comments

Comments

@gbastien
Copy link
Member

gbastien commented Dec 4, 2018

The fallback to default view mechanism is broken, this is related to plone/Products.CMFDynamicViewFTI#16

PloneTool does not use check_exits=True to check if layout exists.

What I did:

Create a folder

  • create a folder "fallback" at the root;
  • got to fallback/manage_propertiesForm and define layout to "toto";
  • got to the fallback folder.

What I expect to happen:

Default layout defined on FTI should be used (listing_view)

What actually happened:

A NotFound is returned because layout "toto" does not exist

What version of Plone/ Addons I am using:

Plone 4.3, Plone 5.1.x, Plone 5.2

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

2 participants