Koha-clms/cataloguing/value_builder
Lucas Gass f26f323aee
Bug 42262: encodeURIComponent for the 006 value
To test:
1- have a MARC record with Type of Material "BKS - Books" that does not have an 006 defined (biblio 1 in the KTD default data will work)
2- edit the biblio in the basic editor
3- open the tag editor for the 006
4- observe that the values along the top of the tag editor window show a value of "" (blank) in position 17
5- click Save in the tag editor window
6- confirm that the values in the 006 tag end with a space
7- open the 006 tag editor again
8- observe that the values along the top of the tag editor window no longer show any value for position 17. Instead, they end with the zero in position 16
9- click Save in the tag editor window
10- confirm that the values in the 006 tag now end with a zero, not followed by a space
11- save your biblio
12- edit the biblio in the basic editor again, get warning "The following fixed-length control field(s) have an invalid length: 006. Please fix."
13- APPLY PATCH and restart_all
14. Try editing the 006 value again, the whitespace should be preserved and you get no error.

Signed-off-by: Justin Swink <Justin.Swink@littleelm.gov>
Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 1a0501f5e8)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
2026-07-13 11:54:07 +12:00
..
EXAMPLE.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
barcode.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
barcode_manual.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
callnumber-KU.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
callnumber.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
cn_browser.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
dateaccessioned.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
marc21_field_005.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
marc21_field_006.pl Bug 42262: encodeURIComponent for the 006 value 2026-07-13 11:54:07 +12:00
marc21_field_007.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
marc21_field_008.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
marc21_field_008_authorities.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
marc21_field_008_classifications.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
marc21_field_245h.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
marc21_field_260b.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
marc21_leader.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
marc21_leader_authorities.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
marc21_linking_section.pl Bug 29733: MARC21: Link 7xx linking fields to marc21_linking_section.pl value builder 2026-02-17 17:46:27 +00:00
marc21_orgcode.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
stocknumber.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
stocknumberAV.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
stocknumberam123.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_4XX.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_009_ppn.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_010.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_100.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_100_authorities.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_105.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_106.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_110.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_115a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_115b.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_116.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_117.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_120.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_121a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_121b.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_122.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_123a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_123defg.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_123i.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_123j.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_124.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_124a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_124b.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_124c.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_124d.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_124e.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_124f.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_124g.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_125.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_125a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_125b.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_126.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_126a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_126b.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_127.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_128a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_128b.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_128c.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_130.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_135a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_140.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_141.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_146a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_146b.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_146c.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_146d.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_146e.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_146f.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_146h.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_146i.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_181-2.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_181a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_181b.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_181c.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_182-2.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_182a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_182c.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_183-2.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_183a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_210c.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_210c_bis.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_225a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_225a_bis.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_283-2.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_283a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_325h.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_325j.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_field_686a.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_leader.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
unimarc_leader_authorities.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00
upload.pl Bug 40163: Fix several http addresses in the code docs 2026-01-07 14:32:30 +00:00