[Koha-bugs] [Bug 2459] New: circular dep between C4::Auth and C4::VirtualShelves blocks SIP2

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Mon Aug 4 17:07:37 CEST 2008


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2459

           Summary: circular dep between C4::Auth and C4::VirtualShelves
                    blocks SIP2
           Product: Koha
           Version: rel_3_0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P3
         Component: Virtual Shelves
        AssignedTo: galen.charlton at liblime.com
        ReportedBy: galen.charlton at liblime.com
         QAContact: koha-bugs at lists.koha.org
                CC: joe.atzberger at liblime.com, chris.nighswonger at liblime.com


A circular module dependency between C4::VirtualShelves and C4::Auth was added
recently.  However, for a poorly understood (by me) reason, use of 'use
UNIVERSAL' and 'use C4::Auth' in the SIP2 code is resulting in a compilation
error, thus blocking SIP2 from working.

The error can be reproduce as follows:

cd C4/SIP
perl -I. -wc Sip/MsgType.pm
"get_session" is not exported by the C4::Auth module
Can't continue after import errors at /home/gmc/koha/dev/C4/VirtualShelves.pm
line 51
BEGIN failed--compilation aborted at /home/gmc/koha/dev/C4/VirtualShelves.pm
line 51.
Compilation failed in require at /home/gmc/koha/dev/C4/Auth.pm line 34.
BEGIN failed--compilation aborted at /home/gmc/koha/dev/C4/Auth.pm line 34.
Compilation failed in require at Sip/MsgType.pm line 21.
BEGIN failed--compilation aborted at Sip/MsgType.pm line 21.

Patch to follow.




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



More information about the Koha-bugs mailing list