Bug #61719
closedEpic #58282: Workspaces Workpackage #2
Story #58284: Bug fixes & Behaviour
Warnings on flushing whole workspace with localizations
100%
Description
Flushing a whole workspace in the workspace, which contains record localizations, shows warnings like this in the workspace module:
Attempt to reset workspace for record failed: No record
The reason for that is simple, the record already has been flushed since it's a localization.
Thus, either the warning can be omitted by tracking already processed elements or record localizations need to be processed before the default record.
Updated by Oliver Hader about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Christian Kuhn over 4 years ago
In master / v11, there are no warnings in the workspace module itself, only db logs. However, the issue itself is still reproducible and does not even need record translations:
- Have a workspace set up on page 0
- Switch to this workspace
- Create a new page in this workspace
- Add a content element on this page
- Go to workspace module, select 'all' button or select both the page and the record
- Second drop-down "Choose selection action" -> Discard (page and content element are thrown away)
-> This creates one log entry in the log table:
- System -> Log module, filter action "Database" -> See "Attempt to reset workspace for record failed: No record"
Reason: Sending action 'clearWSID' (to throw away ws records) sends both the page and the content element. The page record is deleted first, which deletes the content element as well. The call to delete the content element then creates the log entry.
Note this not only happens if deleting a page that has a content element (or other record), but also if having a page with a sub page and discarding both through the workspace module.
Updated by Gerrit Code Review over 4 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/c/Packages/TYPO3.CMS/+/65132
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65132
Updated by Christian Kuhn over 4 years ago
- Related to Bug #91881: Massive load when deleting sys_workspace record on pid 0 added
Updated by Christian Kuhn over 4 years ago
- Related to Bug #69310: Attempt to reset workspace failed added
Updated by Gerrit Code Review over 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65132
Updated by Gerrit Code Review over 4 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65132
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65106
Updated by Christian Kuhn over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ba5c16aa1df1c0fd20e7311b5c83acd1c5937e2f.