Hello
I created a triggered rule, the event is set to "Node revision is going to be deleted".
When the pending revision is deleted, the rule is not fired.
The "Node revision is going to be published" event is working.
Thanks for any help and thanks for this awesome module!
Comments
Comment #1
alcoder commentedUPDATE:
The "Node revision is going to be published" event is also not working as it should.
If the moderator clicks on the "Publish This" button, the Rule will work correctly - the "Node revision is going to be published" event is generated.
But If the moderator wants to edit the pending revision and after editing he clicks on the save button and the revision is automatically published with the "Auto-publish drafts" functionality, then the "Node revision is going to be published" event is NOT generated!!
Comment #2
alcoder commentedI think I have found the solution to the "Node revision is going to be deleted" event bug
In revisioning.pages.inc file on line 208:
$return = module_invoke_all('revisionapi', 'pre revert', $node);We should change the 'pre revert' to 'pre delete':
$return = module_invoke_all('revisionapi', 'pre delete', $node);Comment #3
rdeboerYep! Good pick up, alcoder.
I will fix the other event too.
Rik
Comment #4
alcoder commentedThanks Rik.
Comment #5
rdeboerPushed patch of #2 onto the Git 6.x-3.x branch .
Comment #6
rdeboerYep still available on 6.x-3.x. Will be part of next realease 6.x-3.14
Comment #7
rdeboerOOps... Accidentally changed version number.
Comment #9
Balbo commented#1 is not fixed.
Comment #10
rdeboerD6 is approaching end of life. Doing maintenance fixes only.
Comment #11
rdeboer