Details
-
Bug
-
Resolution: Fixed
-
High
-
5.4.7
-
None
Description
Publishing certain contents in the admin backoffice will cause the session id to be regenerated.
Further investigation shows the issue comes from ezflow operations.
Steps to reproduce:
- In admin backoffice, enable browser inspector and note session cookie value.
- Create edit the Home page (or any landing page), and publish.
- Note the session cookie value has changed.
The issue will also happen when editing other contents that trigger ezflow operations (contents rotating in flow block items, etc).
Stack trace:
#0 /var/www/ezp54/ezpublish_legacy/lib/ezsession/classes/ezsession.php(496): ezpSessionHandlerSymfony->regenerate(true) #1 /var/www/ezp54/ezpublish_legacy/kernel/classes/datatypes/ezuser/ezuser.php(1008): eZSession::regenerate() #2 /var/www/ezp54/ezpublish_legacy/extension/ezflow/classes/ezflowoperations.php(149): eZUser::setCurrentlyLoggedInUser(Object(eZUser), 10) #3 /var/www/ezp54/ezpublish_legacy/extension/ezflow/datatypes/ezpage/ezpagetype.php(1172): eZFlowOperations::update(Array) #4 /var/www/ezp54/ezpublish_legacy/kernel/classes/ezcontentobjectattribute.php(734): eZPageType->onPublish(Object(eZContentObjectAttribute), Object(eZContentObject), Array) #5 /var/www/ezp54/ezpublish_legacy/kernel/content/ezcontentoperationcollection.php(218): eZContentObjectAttribute->onPublish(Object(eZContentObject), Array) #6 [internal function]: eZContentOperationCollection->attributePublishAction('123', '13') #7 /var/www/ezp54/ezpublish_legacy/lib/ezutils/classes/ezmoduleoperationinfo.php(829): call_user_func_array(Array, Array) #8 /var/www/ezp54/ezpublish_legacy/lib/ezutils/classes/ezmoduleoperationinfo.php(530): eZModuleOperationInfo->executeClassMethod('kernel/content/...', 'eZContentOperat...', 'attributePublis...', Array, Array) #9 /var/www/ezp54/ezpublish_legacy/lib/ezutils/classes/ezmoduleoperationinfo.php(216): eZModuleOperationInfo->executeBody('kernel/content/...', 'eZContentOperat...', Array, NULL, Array, Array, NULL, Array, 'publish', NULL, Array) #10 /var/www/ezp54/ezpublish_legacy/lib/ezutils/classes/ezoperationhandler.php(57): eZModuleOperationInfo->execute('publish', Array, NULL) #11 /var/www/ezp54/ezpublish_legacy/kernel/content/edit.php(746): eZOperationHandler::execute('content', 'publish', Array)
Attachments
Issue Links
- blocks
-
EZP-26072 Errors encountered while editing two different contents simultaneously
- Closed