I have a subscriber listening on IRecordModifiedEvent for a change to an entry in the registry. If you update the entry TTW, the subscriber works as expected.
But I have a script that gets run by a cronjob that updates the registry. Basically it is doing this:
registry = api.portal.get_tool('portal_registry') departments = registry[myrecord] # changes to departments dictionary here registry.records[myrecord].value = departments transaction.commit()
After it runs, I can look in the registry and see the new value. But the subscriber was not triggered.
Is there something I need to do differently, or is this a bug?