Field 000 (leader) and 008 are controlled with maxlength. This should be since version 3.07.00.037, although my production database somehow did not have 40 for field 008.. We can easily add the same check for 005, 006 and 007. Note that 007 does not always have the same length, depends on position 0.
Created attachment 183688 [details] [review] Bug 40284: Adjust maxlength for 005-007. Test plan: Run dbrev or new install. Verify the maxlength for 005-007 in marc_subfield_structure. Restart all. Check maxlength on input tags in the basic editor for fields 005-007. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Created attachment 183833 [details] [review] Bug 40284: Fix typo in data/marc21_field_006.xml It reads position 12-18 and "six positions". Since the length is 18, the final position is 17. Test plan: Test 006 plugin in basic editor. Switch type of material to CF (computer files). Check length of 006 in editor when saving the 006 form. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Created attachment 185810 [details] [review] Bug 40284: Adjust maxlength for 005-007. Test plan: Run dbrev or new install. Verify the maxlength for 005-007 in marc_subfield_structure. Restart all. Check maxlength on input tags in the basic editor for fields 005-007. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 185811 [details] [review] Bug 40284: Fix typo in data/marc21_field_006.xml It reads position 12-18 and "six positions". Since the length is 18, the final position is 17. Test plan: Test 006 plugin in basic editor. Switch type of material to CF (computer files). Check length of 006 in editor when saving the 006 form. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Owen Leonard <oleonard@myacpl.org>
(In reply to Owen Leonard from comment #3) > Signed-off-by: Owen Leonard <oleonard@myacpl.org> Great!