This question about Using an extension: Asked

ApprovalPlugin not notifying. Debug steps?

ApprovalPlugin on Foswiki 1.07 (debian).

What is the mechanism for notifications, and thus the debugging steps?


First thing would be to check that Foswiki is sending the other emails correctly (i.e. WebNotify, Registration, etc).

You can also check the warning logs, as the plugin will write something there if it gets an error when trying to send.

There is also a $Foswiki::cfg{Plugins}{ApprovalPlugin}{DebugNotify} setting in configure, that if you set to true will write the email to your debug log rather than sending it, so that might be useful when debugging. You will also want $Foswiki::cfg{Plugins}{ApprovalPlugin}{Debug} set to true as well.

Let us know how you get on.

-- AndrewJones - 25 Sep 2009


First thing would be to check that Foswiki is sending the other emails correctly (i.e. WebNotify, Registration, etc).

DONE Yes.

You can also check the warning logs, as the plugin will write something there if it gets an error when trying to send.

DONE warn20909.txt has no entries for today, despite cycling my example document in another web through states to Approval.

Did this with debug enabled. The debug log was mostly entries of:

2009-09-26T00:11:28Z debug - Foswiki::Plugins::ApprovalPlugin: beforeCommonTagsHandler

interspersed with noting the change in state through to approval.

Nothing in the debug log for email content with the notification debug set as well.

-- CraigBowers - 26 Sep 2009

Anything in Apaches error-log?

-- OliverKrueger - 09 Oct 2009

Nothing other than drive-by hack attempts.

-- CraigBowers - 16 Oct 2009

It would be nice to hear if anyone has working notifications on 1.0.7

-- CraigBowers - 21 Oct 2009

I'm curious what's missing from WorkflowPlugin that prevents you using it. Notifications work in that plugin.

-- CrawfordCurrie - 21 Oct 2009

From ApprovalPlugin

"However, it does support concurrent reviewing and notifications on state change, which is not supported by the Workflow plugin."

I found the examples easier to follow, and noted that the edit/non-edit control worked without any global changes, vs the Workflow documentation of "If you replace Edit with %WORKFLOWEDITTOPIC% in your skin templates, then the Edit link is crossed out when the user is not allowed to edit the page in a state." But perhaps that's just a cosmetic control?

So the notifications work for some/all of you?

As of now, I'm still at the point where WebNotify notifications come through fine, as do Action Tracker notifications. I've just never heard a peep out of Approval Plugin.

-- CraigBowers - 29 Jan 2010

QuestionForm edit

Subject Using an extension
Extension ApprovalPlugin
Version Foswiki 1.0.9
Status Asked
Topic revision: r9 - 29 Jan 2010, CraigBowers
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy