Closed (fixed)
Project:
Workbench Moderation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2014 at 16:22 UTC
Updated:
16 Sep 2014 at 18:50 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dsnopekPatch is attached! Please let me know what you think.
Comment #2
srjoshThis is really good, but I think there's one more thing - shouldn't workbench_moderation_state_delete() also invoke the transition deletion hook, as it's deleting transitions?
Comment #3
dsnopek@srjosh: Ah, yes, you're right! There should probably be some refactoring to avoid repeating that code. I'll take a look at it when I have chance.
Comment #4
srjoshComment #5
dsnopekComment #6
dsnopekEven though both patches apply fine manually, Drush make has problems applying both the save and delete hook patches together, so I've merged them into one hook adding patch. :-)
Comment #7
srjoshThis is working beautifully on several different environments for me.
Comment #8
srjoshAs a note, this patch conflicted with v5 of #2174343: Make transitions into entities, for use with entity reference fields so the two patches have been combined at #2237989: Combine transition entity patch and hook_workbench_moderation_(state|transition)_(save|delete) patch (conflicts).
Comment #10
dsnopekWoohoo! It's awesome to see this stuff starting to get committed. :-)
Comment #11
srjoshComment #13
firebug commentedcan someone run me through a quick install guide for this patch.
I am running OA 7.19 and have enabled Workbench and Workbench Moderation but need to install this patch in order to enable OA Workbench
I have a local directory of the drupal code and Git it up to Acquia
Any plans to fold this into a stable module?
thanks
STeve