Ticket #23 (assigned defect)

Opened 2 years ago

Last modified 1 year ago

namespace should be Mail::SpamAssassin::Plugin::FuzzyOcr

Reported by: frederic.vandevelde@paradigmo.com Assigned to: decoder (accepted)
Priority: minor Milestone:
Component: Configuration Version: 3.5.0 RC1
Keywords: Cc:

Description

FuzzyOcr? inherit from Mail::SpamAssassin::Plugin it should then use the correct name space and not FuzzyOcr?.

It is a minor change to all packages.

Attachments

patchset_namespace.patch (11.2 kB) - added by frederic.vandevelde@paradigmo.com on 20.12.2006 11:31:23.
patchset for the namespace based on patchset3

Change History

16.12.2006 18:21:02 changed by decoder

  • status changed from new to assigned.

I'll see if we can do this in this release without major changes :)

20.12.2006 11:01:38 changed by frederic.vandevelde@paradigmo.com

All you have to do is to adapt the package name like this:

package FuzzyOcr::XXXX to Mail::SpamAssassin::Plugin::FuzzyOcr::XXXX

You should also avoid using full package name in function call like FuzzyOcr::MyPackage::MyFunction? (arg1,argn,...) but instead export the function in the source package and import the function when you need it.

20.12.2006 11:31:23 changed by frederic.vandevelde@paradigmo.com

  • attachment patchset_namespace.patch added.

patchset for the namespace based on patchset3

20.12.2006 11:32:50 changed by frederic.vandevelde@paradigmo.com

I have attached a patch based on your patchset 3 where all namespaces have been adjusted.

I don't touch any function call in this patchset just the packages name space.

22.03.2007 10:02:54 changed by greg_at_runlevel7_dot_ca

08.07.2007 10:27:38 changed by anonymous

15.08.2007 02:26:24 changed by anonymous


Add/Change #23 (namespace should be Mail::SpamAssassin::Plugin::FuzzyOcr)