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

Rename title of baseline removes policy #65

Open
ewohnlich opened this issue Oct 4, 2018 · 0 comments
Open

Rename title of baseline removes policy #65

ewohnlich opened this issue Oct 4, 2018 · 0 comments

Comments

@ewohnlich
Copy link

Plone 5.0.5
plone.app.iterate 3.2.0

Steps to reproduce
Create a page. Checkout page. On the baseline, use the Rename action to change the title (not the id).

Expected Behavior
Baseline title change (or maybe fails, because this should be locked?), policy zc.relation remains

Observed Behavior
Baseline title change, but policy zc.relation is removed. This appears to occur when the event listener is notified in the plone.app.content.actions.RenameForm view.

(Pdb) ICheckinCheckoutPolicy(self.context).getBaseline()
<Document at /ootb/front-page>
(Pdb) notify(ObjectModifiedEvent(self.context))
(Pdb) ICheckinCheckoutPolicy(self.context).getBaseline()
(Pdb)
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