Bug #54924
closed
Workspace edits revert to old content when accidentally published twice
Added by Stefan Rotsch over 10 years ago.
Updated over 6 years ago.
Description
This bug might not be triggered often as it only happens under specific circumstances, but still...
Manual process to reproduce:
1. Change a tt_content record in workspace
2. Go to workspace module
3. Push the changes to the last stage before Publishing
4. Open a new tab and go to the workspace module as well; you should now have to tabs open, both showing the same record.
5. Publish the record in the first tab. Test and see that everything is fine, the changes got to LIVE.
6. Publish the record in the second tab using the ACTION dropdown (this is important as only the ACTION dropdown triggers the issue).
7. Everything is reverted again and the changes are no longer visible in the Workspace (in the DB, the old workspace version of the record has wsid = 0 and pid = -1 and is thus invisible, but still contains the correct content).
Possible explanations:
- User had two tabs open
- Two users both published within 30 seconds of one another
- AJAX Request was fired twice? Somehow...
Important: Running the functional test requires a patched EXT:phpunit, see https://review.typo3.org/#/c/26743/
- Status changed from New to Under Review
- Status changed from Under Review to Closed
- Status changed from Closed to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26769
- Target version set to 7.5
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26769
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26769
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26769
- Assignee set to Stefan Rotsch
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/26769
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42592
- Status changed from Under Review to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF