[Koha-bugs] [Bug 10085] Unapi does not function under Plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Apr 20 08:28:15 CEST 2013


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #17565|0                           |1
        is obsolete|                            |

--- Comment #3 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 17566
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17566&action=edit
Bug 10085: unapi does not function under Plack

The following errors appear when trying to use unapi under Plack (among
others):
Variable "$cgi" is not available at /home/jcamins/kohaclone/opac/unapi line
160.
Variable "$format_to_stylesheet_map" is not available at
/home/jcamins/kohaclone/opac/unapi line 173.
Variable "$format_info" is not available at /home/jcamins/kohaclone/opac/unapi
line 174.
Variable "$format_to_stylesheet_map" is not available at
/home/jcamins/kohaclone/opac/unapi line 185.

To test:
1) Try to view /cgi-bin/koha/unapi under Plack
2) There is no step 2. Plack crashes.
3) Apply patch.
4) Try to view /cgi-bin/koha/unapi again, and note that it doesn't crash

Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>

I'm puzzled how this ever worked anyway, accidentally i'm guessing,
this tidies up some lazy coding

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


More information about the Koha-bugs mailing list