Item12981: DirectedGraphPlugin adds bogus errors to the error log
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
DirectedGraphPlugin abuses the initplugin sub to disable itself in certain contexts
For example it disables the plugin when you do a diff/compare
It checks for the diff context and returns 0 in the initplugin
The initplugin should always return 1 except when there is a real error condition to be fixed.
If the plugin should be inactive when the diff context is in effect, other means should be used to be passive than to fail the init
The consequence of current behaviour is that the Foswiki error.log is getting (in my case) 10-50 bogus failures per day.
As an admin I assume something is wrong. But after a long investigation all is fine except these errors.
It would be good if the plugin gets improved next time a developer makes an update to it.
--
KennethLavrsen - 05 Aug 2014