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

Missing plone.versioning behavior for Pages #143

Open
mliebischer opened this issue Apr 4, 2024 · 0 comments
Open

Missing plone.versioning behavior for Pages #143

mliebischer opened this issue Apr 4, 2024 · 0 comments

Comments

@mliebischer
Copy link

mliebischer commented Apr 4, 2024

Hello everyone, is it intended that the plone.versioning behavior is disabled by default after installing plone.volto for Pages? In Plone Classic, Pages have that behavior enabled by default. Other types such as Events do not appear to be affected.

plone.contenttypes - Document.xml
https://github.com/plone/plone.app.contenttypes/blob/291de310ab60beb17999a8e05fe6a9168641480f/plone/app/contenttypes/profiles/default/types/Document.xml#L44
image

plone.volto - Document.xml

<property name="behaviors">
<element value="plone.constraintypes" />
<element value="plone.namefromtitle" />
<element value="plone.allowdiscussion" />
<element value="plone.excludefromnavigation" />
<element value="plone.shortname" />
<element value="plone.dublincore" />
<element value="plone.relateditems" />
<element value="plone.locking" />
<element value="volto.blocks" />
<element value="volto.preview_image" />
</property>

Page in ZMI:
image
image

Looks like a bug to me. If so, it might be better to selectively disable or enable the required behaviors via a setup handler in plone.volto to avoid repeating the behaviors and unintentionally omitting some default behaviors in the future.

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