[Koha-bugs] [Bug 8829] can't import authorities

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 5 17:07:05 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8829

Paul Poulain <paul.poulain at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paul.poulain at biblibre.com

--- Comment #4 from Paul Poulain <paul.poulain at biblibre.com> ---
I agree with the description and the fact that it's critical.

But isn't it caused by the fact that GetAuthorizedHeading isn't exported in
C4/AuthoritiesMarc.pm ?
Shouldn't we add this sub to expose it (in the .pm) instead of adding a fully
qualified name (in ImportBatch) ? 

(reminder = in Perl, you can't access a sub in a package unless:
 - it's exported
 - you fully qualify it [that's why purists says there's not real OO in Perl,
because you can't have a really private method in you object]
)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list