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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 11 09:55:41 CEST 2021


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #122951|0                           |1
        is obsolete|                            |

--- Comment #89 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 123762
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=123762&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>

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


More information about the Koha-bugs mailing list