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

            Bug ID: 36907
           Summary: OAI set mapping form field maxlength should match
                    table column sizes
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: System Administration
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

If you enter text in the OAI set mapping form which contains more characters
than the size of the oai_sets_mappings database columns and submit the form
there is causes an error.

"C4::OAI::Sets::ModOAISetMappings(): DBI Exception: DBD::mysql::st execute
failed: Data too long for column 'marcfield' at row 1"

We should add maxlength attributes to these fields to prevent that possibility.

-- 
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/

Reply via email to