Bug #104314
closedEditors of element no more preselected for notifications when publishing in workspaces
100%
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
Updated by Garvin Hicking 5 months ago
- Related to Bug #104228: "Recycler" backend module: The value of the owner data is always "(0)" added
Updated by Garvin Hicking 5 months ago
- Related to Task #98024: Remove TCA option "cruser_id" added
Updated by Gerrit Code Review 5 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/85133
Updated by Garvin Hicking 5 months ago
- File workspace-send-to-patched.png workspace-send-to-patched.png added
- File workspace-notification.png workspace-notification.png added
- File workspace-publish.png workspace-publish.png added
- File workspace-send-to-unpatched.png workspace-send-to-unpatched.png added
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
cardname, 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)
Updated by Gerrit Code Review 5 months ago
Patch set 1 for branch 12.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/+/85144
Updated by Garvin Hicking 5 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 62d074f874c1d20987846d31974b3df56461cb99.