In a fresh install of Koha 20.05.01.000 the 'MARC bibliographic framework test' fails in one point reporting that "Not all subfields for the following tags are in the same tab (or marked 'ignored')" for all preloaded formats (Default to VR). In every case invariably the culprit is subfield 2 of the below mentioned tags - 240(1,2) | 700 (1,7) | 710 (1,7) | 711 (1,7) | 730 (1,7) | 758 (1,7) | 800 (1,8) | 810 (1,8) | 811 (1,8) | 830 (1,8). The numbers within parenthesis indicate tabs are in use. It only occurs in case of a fresh installation of 20.05.01 loaded with default formats (Default, AR, BKS, CF, IR, KT, SER, SR, VR), not with the upgradations of 18.x or 19.x to 20.05.01
Hi, which language did you choose - English?
Yes, English.
Created attachment 107054 [details] [review] Bug 26018: Fix frameworks errors with subfields in wrong tab All subfields for a MARC21 field should always be in the same tab. There were some mistakes found by the "MARC bibliographic framework test" this fixes. Before you apply the patch: - Check the "MARC bibliographic framework test" page - Ideally you should see the "wrong tab" mistakes - Reset your db (reset_all) or drop your db and run the web installer - Verify the page no longer points out any issues
Created attachment 110221 [details] [review] Bug 26018: Fix frameworks errors with subfields in wrong tab All subfields for a MARC21 field should always be in the same tab. There were some mistakes found by the "MARC bibliographic framework test" this fixes. Before you apply the patch: - Check the "MARC bibliographic framework test" page - Ideally you should see the "wrong tab" mistakes - Reset your db (reset_all) or drop your db and run the web installer - Verify the page no longer points out any issues Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Excellent, works as expected.. Signing off.
Created attachment 111536 [details] [review] Bug 26018: Fix frameworks errors with subfields in wrong tab All subfields for a MARC21 field should always be in the same tab. There were some mistakes found by the "MARC bibliographic framework test" this fixes. Before you apply the patch: - Check the "MARC bibliographic framework test" page - Ideally you should see the "wrong tab" mistakes - Reset your db (reset_all) or drop your db and run the web installer - Verify the page no longer points out any issues Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
(In reply to PS Mukhopadhyay from comment #0) > It only occurs in case of a fresh installation of 20.05.01 loaded with > default formats (Default, AR, BKS, CF, IR, KT, SER, SR, VR), not with the > upgradations of 18.x or 19.x to 20.05.01 Which means it's a regression, so I thought about bug 24594. However, I have checked for 240$2 and it was in tab 1 already: ('240', '2', 'Source of heading or term', 'Source of heading or term', 0, 0, '', 1, '', '', '', NULL, -6, '', '', '', NULL), Should we fix existing installations?
I have thought about it, but it's probably not so easy. For custom frameworks people might have moved fields to different tabs intentionally (think FA framework), the problem is that they should not split subfields on different tabs. So if we find a case where people have a on tab 1 and b on tab 2 ... how would we clean that up? We have the test in the GUI, maybe we should put a reminder on release notes that people should check it and fix errors pointed out?
Pushed to master for 20.11, thanks to everybody involved!
backported to 20.05.x for 20.05.06
I have found this bug in a fresh install of 19.11.11.000. Is the fix the same?
(In reply to Herbert Janes from comment #11) > I have found this bug in a fresh install of 19.11.11.000. Is the fix the > same? Yes, can confirm this bug exists in 19.11.x, however the fix is not the same. This can't be backported to 19.11.x. Please rebase for 19.11.x