Bug #66361
closed
Workspaces: Email Notifications are always sent to members of the current workspace, NOT the selected workspace.
Added by Sven Flesch over 9 years ago.
Updated over 8 years ago.
Description
When an editor sends an item from draft workspace to publish (live workspace) then a window shows possible users to be notified.
The function getResponsibleBeUsers() in \TYPO3\CMS\Workspaces\Service\StagesService collects all users that should be on that list. For that in line 438 all owners and members are selected - from the workspace that the backend user is currently in. Why is that? Should it not be all members and owners of the workspace that the item is sent to?
Why would an editor want to notify all other editors when something is published?
I assume that there is a bug and that $workspaceRec should be the workspace record for the workspace that the item is sent to, not the current workspace.
If I'm wrong, at least there should be an option to limit the list to the workspace owners.
If I'm right, I would gladly commit a fix. Let me know.
- Status changed from New to Needs Feedback
- Assignee set to Mathias Schreiber
Hi Sven,
do you mean "Workspace the user is in" or "stage of a workspace the user is in"?
Either way, good catch :)
Cheers
Mathias
Hi Mathias,
Thanks for looking at the issue!
In my case I have a workspace for editors that does not include any custom stages.
The workflow for the editor is to edit the content, get it checked and then publish it. The editor does the publishing himself. Let's call the workspace for editing the "draft mode". When the editor is in "draft mode" and decides to publish the content then the function getResponsibleBeUsers() selects all users who are associated with that workspace (members or owners).
As I understand it, the members of the workspace would translate to editors of the content, and the owners of the workspace would translate to the supervisors of those editors.
Currently it's not possible to present the members of the workspace (editors) a list of only the workspace owners as possible or preselected recipients. Although this is really the only scenario that makes sense to me.
Best,
Sven
- Status changed from Needs Feedback to New
- Target version changed from 6.2.12 to 6.2.14
- Target version changed from 6.2.14 to 6.2.15
- Target version changed from 6.2.15 to 6.2.16
@Sven
Do you like to provide a patch?
- Status changed from New to Needs Feedback
If at all, it's more a conceptual thing instead of a technical bug. However, the notification handling has been enhanced in CMS 7 which now allows one to define the actions and preselections for each workspace individually. See #35245 which was part of 7.5 already. Thus, I guess this issue here can be closed...
- Assignee changed from Mathias Schreiber to Sven Flesch
- Target version deleted (
6.2.16)
Hi Sven, could you try TYPO3 7.5 (or newer), if your feature request is fulfilled?
- Status changed from Needs Feedback to Closed
- Assignee deleted (
Sven Flesch)
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.
Also available in: Atom
PDF