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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 1 13:32:51 CEST 2021


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

--- Comment #107 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 125610
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125610&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

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list