Bug #104314
closed
Editors of element no more preselected for notifications when publishing in workspaces
Added by Hannes Bochmann 5 months ago.
Updated about 1 month ago.
Description
In TYPO3 10.4 all editors that changed/worked on an element, were preselected for notifications when publishing to live. Of course this has to be configured accordingly for it to work. In TYPO3 12.4 (maybe even 11.5) even if everything is configured correct the editor of a change is not preselected when publishing an element. This does no longer work because of a bug in TYPO3\CMS\Workspaces\Service\RecordService::getCreateUserIds(). The field in the history record that is checked should be "usertype" and not "actiontype". When this is fixed the preselection works again.
Files
- Related to Bug #104228: "Recycler" backend module: The value of the owner data is always "(0)" added
- Related to Task #98024: Remove TCA option "cruser_id" added
- Status changed from New to Under Review
To reproduce this:
Prerequisites¶
- Have a pool of several backend users, for example: user1, user2, user3, user4, user5 (they all need to have email addresses set)
Create workspace and settings¶
- Create a workspace, pick a
card name, any name.
- Edit workspace settings
- In the tab "General" assign all 3 people as members. Set "Notification settings during state change" to "Notify all users on any change"
- IMPORTANT: In the tab "Internal Stages", only enable "[x] Editors" for all three "Pre-select recipients" stages!
Create records¶
- Activate workspace you created.
- Select a page to edit in "Page" module.
- As user1, create content on the page
- Fast-user-switch to user2. Ensure workspace is still selected. Create some other content.
- Fast-user-switch to user3. Ensure workspace is still selected. Create some other content.
Publish¶
- Switch back to user1
- Go to "Workspace" module
- "Select all" content elements
- In the dropdown above the list, for "Selection:" where it says "Choose staging action", pick "Publish to LIVE"
Verify¶
- A popup opens showing user1 to 5
- Without patch: No user is pre-selected
- With patch: The users 1-3 will be pre-selected, users4 and 5 not (because they did not change content)
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF