Skip to content

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

@neilferreira

Description

@neilferreira

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions