[Koha-bugs] [Bug 27526] Remove Mod/AddItemFromMarc from additem.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 8 15:53:16 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27526

--- Comment #43 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 122677
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122677&action=edit
Bug 27526: Fix mandatory and important checks

The input names have been changed from "field_value" to $kohafield.
Modifying this could have an impact in other area, where
CheckMandatorySubfields and CheckImportantSubfields are called.
Using .input_marceditor let us fix the additem.tt form and prevent to
break the other ones.
Note that the other ones are actually broken (!)

Also note that there is a typo in the error message
        alertString2 += "\n- " + "%s " +
MSG_MANDATORY_FIELDS_EMPTY.format(total_errors);
There is an extra %s

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


More information about the Koha-bugs mailing list