I’ve an error that I can’t understand. My usecase is that I want to inform user by mail if some properties are changed in updateAction. To decide if regarding properties are changed I use following code:
/** @var UnitOfWork $uow */ $uow = $this->entityManager->getUnitOfWork(); $uow->computeChangeSets(); \Neos\Flow\var_dump($uow->isEntityScheduled($channel),'isEntityScheduled');
This works fine on my localhost, but on production server isEntityScheduled() always returns false.
Difference between localhost are FLOW_CONTEXT and php version. I tried to set context to production on my localhost to reproduce this behavior. But even in production mode it returns true. May the php version lead to this error? Locally I use php 7.2.21 and on the server there is 7.2.34 installed. On my MAMP version 7.2.34 is not available - so I can’t test.
This is driving me crazy, as I’ve no idea what to look up. So every hint is welcome.
EDIT: Flow Version is 5.3.15