plone.restapi icon indicating copy to clipboard operation
plone.restapi copied to clipboard

Doesn't fire IObjectCreatedEvent

Open terapyon opened this issue 3 years ago • 1 comments
trafficstars

I want to modify shortname as a sequential number. My solution was using zope.lifecycleevent.IObjectCreatedEvent. but My volto app doesn't fire this event.

Is this related to plone.restapi? Or, Do you have any solution for changing shortname at created?

terapyon avatar Apr 11 '22 02:04 terapyon

@terapyon plone.restapi should fire the proper event handlers. Therefore I'd consider that a bug. Maybe we can write a set of tests that make sure all necessary events are fired. If we have that in place and see the test failures, we can make sure that all events are fired properly.

tisto avatar Apr 11 '22 06:04 tisto