Closed (won't fix)
Project:
Content Moderation Notifications
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2018 at 11:56 UTC
Updated:
4 Mar 2026 at 09:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
anish.a commentedThe initial patch. Needs work to generalize it. No tests has been added.
No upgrade path also is there.
Comment #3
jhedstromWould it make more sense to utilize different workflows for the different content types? Then this module can simply be set to use the different workflows available...
Comment #4
pameeela commentedThanks @jhedstrom for the suggestion, a different workflow will work for me, although the actual workflow is the same...
I was a little confused because the screenshots on the module page show options to select the bundle. So was this supported at one point and then removed? Updating the screenshots would be helpful to avoid confusion, I think.
Comment #5
letrollpoilu commentedI'm so sad to see that now after seeing the module screenshot...
I'm exactly in the same case, moreover Rules and Workbench Emails are not working for me. This module works well but since I have the same Workflow for all my content but I need different emails sent to different roles depending on Content Type, this module becomes useless to me...
I tried to apply the patch on the current dev version but this is not working... Is there anything that can be done? I'm afraid I'll have to program my notification manually then. Anyway thanks for this module.
Comment #6
anish.a commented@letrollpoilu
I rerolled the patch for latest version. Try it out. I am not sure if its working.
If the maintainer is ok to make this feature available on the module, I can work on the patch to include tests, porting for latest dev, upgrade path, etc.
Comment #7
letrollpoilu commentedThanks a lot for your quickness! I will test the patch in the next days and will come back to you.
Comment #8
letrollpoilu commentedI don't really know what happened. I tested it when I had only one content type set up with the moderation process and this was working fine. Now that I developed all the forms, I have like 7 content types and the module is not working anymore, not sending any notification... So I removed the patch and reverted to the 3.3 version but it is still not working.
SO I don't know if there is a bug in my config or if the patch made that. In any case, the module is not working for me anymore... I don't really know what to do so I'm thinking of trying to implement my notifications with Rules.
Comment #9
jwilson3NR for #6
Comment #11
dhirendra.mishra commentedComment #13
alzz commentedTested #11 patch and is working ok! only sends email for the selected content types.
Comment #14
letrollpoilu commentedActually, I could also make everything work properly. Seems like the patch is working!
Comment #15
tunicSome tests are failing. Those tests should be examined and their functionality cheched, then either fix the tests or fix the functionality.
Comment #16
smustgrave commentedCould I make a suggestion but since a workflow can be attached to media and blocks also should this patch be expanded to cover those also vs just content types?
Comment #17
anish.a commentedAs original author of the patch, it was a quick and dirty solution for that specific problem. I was not sure whether its a correct solution, or even if it will be used by many people to be included in the module. I uploaded the patch as is.
If there is many interest for this feature and maintainer is ok to merge, I can work on it to polish the code and include tests and migration path.
Comment #18
smustgrave commentedCan try and take a look more later but in ContentModerationNotificationsFormBase it loads the workflow to grab the transitions. If the workflow is loaded it can then grab the entity types (media, blocks, node, etc) the workflow is attached to.
Is with loading all the content types is you could be setting up a a notification for a content type that doesn't have workflow.
Comment #19
anish.a commentedComment #20
erik_petra commentedRe-roll of the patch that works for version 3.7.0
Comment #21
bkosborneI see Content Moderation Notifications as serving a simpler use case. This patch adds some complexity, and it also assumes that the workflow entity is a node, which is not always the case. For these more advanced use cases, I think the ECA module would be a better fit. Please feel free to re-open if anyone disagrees here. I recently became a co-maintainer and I'm trying to clean up the issue queue and keep the module streamlines to make it more maintainable.
Comment #23
mamoruua commentedRe-roll of the patch that works for version 3.8.0