[Koha-bugs] [Bug 4464] Editing a record with a 245a triggers warning about 245 is mandatory
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 21 17:49:17 CEST 2010
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4464
Jane Wagner <jwagner at ptfs.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jwagner at ptfs.com
--- Comment #1 from Jane Wagner <jwagner at ptfs.com> ---
One of our programmers has tracked down the cause of this problem, but we are
not sure of the best way to solve it. Briefly, it happens when a title is over
100 characters in length, and the culprit is the javascript that's controlling
the text input block. Here's our programmer's report:
-----
Here's a snippet of the HTML from a record that throws the 245 error...
<textarea cols="70"
rows="4"
id="tag_245_subfield_a_834735_210982"
name="tag_245_subfield_a_834735_210982"
class="input_marceditor"
tabindex="1"
>Orders regarding the death of George Washington and the military's
funeral arrangements for their "Patron and Father."</textarea>
versus a good one...
<input type="text"
id="tag_245_subfield_a_735043_272907"
name="tag_245_subfield_a_735043_272907"
value="Pain is inevitable but misery is optional so, stick a geranium in
your hat and be happy! /"
tabindex="1"
size="67"
maxlength="9999"
class="input_marceditor"
/>
The issue is the javascript (js) that checks for mandatory fields does not
recognize the textarea.
The textarea piece comes from addbiblio.pl ($subfield_data{marc_value}), and it
creates it when a title is longer than 100 characters.
A quick work around is to increment this value, but the ultimate solution would
be to have the js recognize that there's something in the textarea input field.
-----
Any ideas?
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Koha-bugs
mailing list