I managed to trigger this by simply editing a node (thus: creating a new revision) and when I tried to publish it, this error was triggered.

Fatal error: Call to undefined function _trigger_get_hook_aids() in /var/lib/www/shared/drupal-6.10/sites/gnome-de.org/modules/revisioning/revisioning_triggers_actions.inc on line 43

Comments

herzi’s picture

This was the URL to trigger this: http://web.gnome-ev.de/node/9/revisions/22/publish

rdeboer’s picture

Hi herzi,
One reason this can happen is when on your Drupal installation the Trigger module is disabled or uninstalled. I just managed to get your error when I disabled the Trigger module (Administer >> Site building >> Modules). This is a core module and is switched on by default, so would normally not cause a problem, but if you disable it, it does!
Let me know how you go. I've updated the documentation to make this explicit.

herzi’s picture

Hi, thanks a lot. Enabling trigger was the solution to this issue. So when do you plan to release a 6.x-1.1 which will work w/o trigger (or depend on trigger)?

rdeboer’s picture

This is easy to do and I might do this. By this I mean detect whether the Drupal installation has the Trigger module installed and then blaze on accordingly....

But users would miss out on some good features....

One of the reasons why the Revisioning module loves the Trigger module is that you can Trigger (duh!) actions when important events happen. For instance, you can automatically send an email to the author of a piece of content when the moderator decides to accept/decline the author's revision for publication. That may not be useful to you, but I think it will be useful to others....

Why are you so much against enabling the Trigger module? It is part of the (optional) core modules... So the Drupal "inner sanctum" must feel that the Trigger module is a good thing..... and so do I....
Have you found any negative side-effects of activating the Trigger module? If so, I'm sure the community would love to know!

Interested in your thoughts....

rdeboer’s picture

Category: bug » feature
Priority: Critical » Minor
Status: Active » Needs work

Will be fixed in 6.x-1.1

rdeboer’s picture

Assigned: Unassigned » rdeboer
Status: Needs work » Fixed

6.x-1.1 is now available for downloading. It does allow you to disable the Trigger module.
Naturally this means that when you do, you can't use the trigger features built into Revisioning, i.e. sending an email when a revision is published, unpublished or reverted.

herzi’s picture

I'm by no means against activating it; I just don't need it on my site. Remember, I wrote this:

[…] which will work w/o trigger (or depend on trigger)

However, thanks a lot for releasing 1.1. in the future I might come up with some improvements I plan to develop for the site I'm hosting.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

FlymastaFlex’s picture

Because of the activated trigger i wasnt able to unpublish any of my nodes. took me nearly a day to find out.