Bug #54924
closedWorkspace edits revert to old content when accidentally published twice
100%
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/
Updated by Gerrit Code Review over 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26769
Updated by Wouter Wolters over 9 years ago
- Status changed from Under Review to Closed
Updated by Gerrit Code Review over 9 years ago
- 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
Updated by Gerrit Code Review about 9 years ago
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
Updated by Gerrit Code Review about 9 years ago
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
Updated by Gerrit Code Review about 9 years ago
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
Updated by Gerrit Code Review about 9 years ago
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
Updated by Stefan Rotsch about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset edc1150f139647e812cd2969c400f16ae79b665e.
Updated by Gerrit Code Review about 9 years ago
- 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
Updated by Stefan Rotsch about 9 years ago
- Status changed from Under Review to Resolved
Applied in changeset 8bcc7693a2e14b76f3e765671e43377840bdbc65.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed