You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/09/08 20:42:57 UTC

[Bug 3759] New: Plugin cache fails for parse_config if plugins are loaded from multiple modules

http://bugzilla.spamassassin.org/show_bug.cgi?id=3759

           Summary: Plugin cache fails for parse_config if plugins are
                    loaded from multiple modules
           Product: Spamassassin
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Plugins
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: cblaise@esoft.com


There may be more to this, but the caching that is done in the 
PluginHandler::callback routine fails if you have multiple .cf files with 
multiple plugins and anything after the first plugin attempts to register with 
parse_config.

For example:
a.cf - Contains a loadplugin that only registers itself for an eval rule.
local.cf - Contains a loadplugin that attempts to register parse_config.  This 
will never be called.

I was able to confirm this by commenting out the "if (!exists $self->{cbs}->
{$subname}) {" statement in PluginHandler::callback.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.