Is there any way to get old value of a field from IObjectModifiedEvent event object?
Tried event.descriptions[0].attributes but only give tuple of updated fields.
Using Plone4 and dexterity. Thanks in advance.
Is there any way to get old value of a field from IObjectModifiedEvent event object?
Tried event.descriptions[0].attributes but only give tuple of updated fields.
Using Plone4 and dexterity. Thanks in advance.
Rough blueprint:
ZPublisher.pubevents.PubAfterTraversal
or implement that some handler for a related traversal eventREQUEST
IObjectModifiedEvent
handler you do the same value extraction for the new state and compare the values against the stored original data