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

Julian Maurice <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #76 from Julian Maurice <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to