[BUGFIX] Edits disappear when published twice
When accidentally publishing an edit twice, eg. by using multiple browser tabs, all modifications are reverted and the changes are no longer visible in the workspace. In the database, the old workspace version of the record has wsid = 0 and pid = -1 and is thus invisible, but still contains the modified content. Resolves: #54924 Releases: master, 6.2 Change-Id: I8805737540f030ae24331d33590b71629c7f3179 Reviewed-on: http://review.typo3.org/26769 Reviewed-by:Daniel Goerz <ervaude@gmail.com> Tested-by:
Daniel Goerz <ervaude@gmail.com> Reviewed-by:
Andreas Wolf <andreas.wolf@typo3.org> Tested-by:
Andreas Wolf <andreas.wolf@typo3.org>
Showing
- typo3/sysext/workspaces/Classes/ExtDirect/ActionHandler.php 9 additions, 3 deletionstypo3/sysext/workspaces/Classes/ExtDirect/ActionHandler.php
- typo3/sysext/workspaces/Tests/Functional/ActionHandler/ActionHandlerTest.php 85 additions, 0 deletions...aces/Tests/Functional/ActionHandler/ActionHandlerTest.php
- typo3/sysext/workspaces/Tests/Functional/ActionHandler/Fixtures/pages.xml 17 additions, 0 deletions...kspaces/Tests/Functional/ActionHandler/Fixtures/pages.xml
- typo3/sysext/workspaces/Tests/Functional/ActionHandler/Fixtures/sys_workspace.xml 18 additions, 0 deletions...Tests/Functional/ActionHandler/Fixtures/sys_workspace.xml
- typo3/sysext/workspaces/Tests/Functional/ActionHandler/Fixtures/tt_content.xml 20 additions, 0 deletions...es/Tests/Functional/ActionHandler/Fixtures/tt_content.xml
Please register or sign in to comment