https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36907
David Nind <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #166984|0 |1 is obsolete| | --- Comment #2 from David Nind <[email protected]> --- Created attachment 167062 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167062&action=edit Bug 36907: Add maxlength to OAI set mapping form fields This patch adds a maxlength attribute to the field, subfield, and value fields in the OAI set mapping form. This helps prevent an error when the form data is too long for the database columns. Unrelated: The patch also adds quotes around two unquoted name attributes. To test, apply the patch and go to Administration -> OAI sets. - If necessary, create a new set. - Click Actions -> Define mappings. - Test that each form field is limited correctly: Field: 3 Subfield: 1 Value: 80 - Test that the form can be submitted successfully with the maximum number of characters in each field. Signed-off-by: David Nind <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
