[Koha-bugs] [Bug 17600] Standardize the EXPORT

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 1 16:57:50 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17600

Julian Maurice <julian.maurice at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |julian.maurice at biblibre.com

--- Comment #76 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to Jonathan Druart from comment #75)
> I have rebased the branch (tricky!), but I get 
> 
> Undefined subroutine &C4::Items::TransformKohaToMarc called at
> /home/vagrant/kohaclone/C4/Items.pm line 1491.
> 
> when I hit /cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=42
> 
> TransformKohaToMarc is exported by C4::Biblio.
> And it is what we are trying to avoid...
> 
> Any ideas?

Circular dependencies.
C4::Biblio use C4::Items which use C4::Biblio;

If I comment 'use C4::Items ...' in C4::Biblio, MARCdetail.pl works fine.

It seems that this 'use' is not even needed. C4::Items is 'require'd each time
it's needed in C4::Biblio.

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


More information about the Koha-bugs mailing list