[Koha-bugs] [Bug 28279] mappings.yaml no longer in sync

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 3 15:06:47 CEST 2021


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

--- Comment #2 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 120405
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120405&action=edit
Bug 28279: Re-sync mappings.yaml

We are missing some changes in the mappings.yaml file:
* missing staff_client/opac (bug 25325 and bug 20589)
* missing mandatory (bug 19482)
* sort (bug 27316) became a boolean field

Which means export_elasticsearch_mappings.pl generates a file that differs a
lot from the one we have in our codebase.

There are also indentation changes certainly caused by the replacement
of YAML with YAML::XS

Test plan:
1. reset_all without this patch
2. export the mappings to a non-tracked file (ie. don't erate
mappings.yaml from source)
3. Apply this patch
4. Compare both file
=> No change expected
5. Reset the mappings (so using the mappings.yaml after the changes from
this patch)
6. Compare the tables on the UI (with and without the patch applied)
=> No change expected

QA will use --word-diff to make sure only mandatory, sort and
staff_client/opac are modified

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


More information about the Koha-bugs mailing list