[Koha-bugs] [Bug 9136] C4::Tags not Plack-compatible
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Dec 21 16:04:41 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9136
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #13957|0 |1
is obsolete| |
--- Comment #5 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 14234
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14234&action=edit
Bug 9136: C4::Tags not Plack-compatible
The three module-scoped variables $ext_dict, @fields, and $select_all
were preventing tagging code from working under Plack. I fixed this
by changing the latter two to compile-time constants, and declared the
first with "our $ext_dict;"
To test (under Plack):
1) Try to create a tag before the patch is applied. Note that you get a
500 error in the AJAX request.
2) Apply patch.
3) Repeat step (1), noticing that this time the tag is created and there
is no error.
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list