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: oleonard@myacpl.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com 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.