[Koha-bugs] [Bug 32678] Add new line in authorized values tests in search_for_data_inconsistencies.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 19 08:17:47 CET 2023


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

--- Comment #1 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 145455
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145455&action=edit
Bug 32678: Add new line in authorized values tests in
search_for_data_inconsistencies.pl

In search_for_data_inconsistencies.pl, the test for authorized values is a list
in one line :
        * The Framework *VR* is using the authorised value's category *LOC*,
but the following items.location do not have a value defined ({itemnumber =>
value }):
 {94 => AV} {95 => AV} {96 => AV} {97 => AV} {98 => AV} {99 => AV} {100 => AV}
{101 => AV} {102 => AV} {103 => AV}

It would be more clear with new lines, especially for scripts (grep, awk ...) :
        * The Framework *VR* is using the authorised value's category *LOC*,
but the following items.location do not have a value defined ({itemnumber =>
value }):
 {94 => AV}
 {95 => AV}
 {96 => AV}
 {97 => AV}
 {98 => AV}
 {99 => AV}
 {100 => AV}
 {101 => AV}
 {102 => AV}
 {103 => AV}

Test plan :
1) In koha-testing-docker
2) Delete in authorized values LOC the value AV
3) Run misc/maintenance/search_for_data_inconsistencies.pl
=> You see the new line in result

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list