Ror 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 (prior to this patch) could be reproduced 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. or more minimally perl -ce 'use UNIVERSAL; use C4::Auth;' This patch works around the problem by making C4::Auth and C4::VirtualShelves not import any symbols from each other. Signed-off-by: Joshua Ferraro <jmf@liblime.com> |
||
|---|---|---|
| C4 | ||
| acqui | ||
| admin | ||
| authorities | ||
| catalogue | ||
| cataloguing | ||
| circ | ||
| errors | ||
| etc | ||
| install_misc | ||
| installer | ||
| koha-tmpl | ||
| labels | ||
| members | ||
| misc | ||
| opac | ||
| reports | ||
| reserve | ||
| reviews | ||
| rss | ||
| serials | ||
| skel | ||
| sms | ||
| suggestion | ||
| svc | ||
| t | ||
| tags | ||
| tmp/modified_authorities | ||
| tools | ||
| virtualshelves | ||
| xt | ||
| .htaccess | ||
| INSTALL | ||
| INSTALL.debian | ||
| INSTALL.fedora7 | ||
| INSTALL.opensuse | ||
| LICENSE | ||
| MANIFEST.SKIP | ||
| Makefile.PL | ||
| README | ||
| about.pl | ||
| changelanguage.pl | ||
| edithelp.pl | ||
| fix-perl-path.PL | ||
| help.pl | ||
| install-CPAN.pl | ||
| kohaversion.pl | ||
| mainpage.pl | ||
| rewrite-config.PL | ||
README
Koha 3 - the next-generation release of the award-winning Koha open-source integrated library system. 30 December 2007 - Joshua Ferraro <jmf AT liblime DOT com> Koha is distributed under the GNU GPL. Please read the file LICENSE for more details. To install or upgrade Koha, please see the INSTALL file. Please report any bugs to the koha mailing lists or bug tracker and we will try to fix them in a future release. The main koha web site is http://www.koha.org/