You are here: Foswiki>Tasks Web>Item12981 (19 Jul 2015, GeorgeClark)Edit Attach

Item12981: DirectedGraphPlugin adds bogus errors to the error log

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: DirectedGraphPlugin
Branches: master
Reported By: KennethLavrsen
Waiting For:
Last Change By: GeorgeClark
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

 
Topic revision: r3 - 19 Jul 2015, GeorgeClark
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