I try to create an email notification for project owners on a Plone site, if the content of a field in the parent folder object is changed. The field contains a list of software versions. The project owner should get the message about the new version and check if his product is compatible with the new software version.
I tried this with IObjectModifiedEvent and a for loop with modified.<field_name> but my function was executed not only for a change in that field but for each field of my content object. Because there were 15 form fields I got 15 returns (I tested with a print command).
The print event was also fired, if I edited another field of my content type.
I wonder if there is a way to bind a modified event only to one form field of a Dexterity content type.