Change fields on pre/post change event


#1

Hello,
Does anyone know if there is a way to get the modified fields of an entity from the pimcore.dataobject.preUpdate event?

Something like Doctrine’s getEntityChangeSet();.

Thanks,
Alessandro


#2

Just dirty.

Inject the RequestStack into the Listener, get the current request and get the data param.

Cheers
Dominik


#3

Ok, then I’m already doing it “the right way”.

Thanks!