[Koha-bugs] [Bug 7451] New: PrepareItemrecordDisplay missing $subfield_data{id} which breaks AJAX value_builders
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 17 13:52:57 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7451
Bug #: 7451
Summary: PrepareItemrecordDisplay missing $subfield_data{id}
which breaks AJAX value_builders
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: rel_3_6
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: P5 - low
Component: Architecture, internals, and plumbing
AssignedTo: gmcharlt at gmail.com
ReportedBy: dpavlin at rot13.org
QAContact: ian.walls at bywatersolutions.com
When using value_builders which have AJAX callback (like
cataloguing/value_builder/stocknumberam123.pl) we get JavaScript error in
browser because we are not initializing $subfield_data{id} (which is used as
unique identifier for this particular field instance).
This problem is also evident as warnings in intranet error log like this:
Use of uninitialized value $subfield_data{"id"} in concatenation (.) or string
at /srv/koha_ffzg//C4/Biblio.pm line 2664
but this affect just hidden fields and is not fatal, as opposed to AJAX example
which breaks functionality.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list