Bug #61719
closed
Epic #58282: Workspaces Workpackage #2
Story #58284: Bug fixes & Behaviour
Warnings on flushing whole workspace with localizations
Added by Oliver Hader about 10 years ago.
Updated about 4 years ago.
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.
- Target version set to 7.5
- Target version changed from 7.5 to 7 LTS
- Target version deleted (
7 LTS)
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.
- Status changed from New to Under Review
- Related to Bug #91881: Massive load when deleting sys_workspace record on pid 0 added
- Related to Bug #69310: Attempt to reset workspace failed added
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF