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

Update handlers are hard to override - is there a better way of dealing with this? #25

Open
neilferreira opened this issue Sep 9, 2015 · 1 comment

Comments

@neilferreira
Copy link

I recently had to create my own 'updateDexterity' method in order to store relations on some additional schema types, I've had to override the @@updateLinkIntegrityInformation view to call my own custom method, rather than the 'modifiedDexterity' as you have hard-coded in the python file.

Would there be a neater way to configure the modifiedDexterity method as the designated update method to manage the updated relations?

See: https://github.com/plone/plone.app.linkintegrity/blob/master/plone/app/linkintegrity/configure.zcml#L34
https://github.com/plone/plone.app.linkintegrity/blob/master/plone/app/linkintegrity/browser/update.py#L83

@keul
Copy link
Member

keul commented Sep 21, 2017

Did the same today: used z3c.unconfigure then registered back my own IRetriever.

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

No branches or pull requests

3 participants