[Bug 28110] New: YAML::XS minimum version should be 0.67, not 0.41
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 Bug ID: 28110 Summary: YAML::XS minimum version should be 0.67, not 0.41 Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: julian.maurice@biblibre.com QA Contact: testopia@bugs.koha-community.org Depends on: 27673 Bug 27673 lowered the required version of YAML::XS from 0.71 to 0.41, but we use $YAML::XS::Boolean which has been introduced in 0.67. https://metacpan.org/pod/distribution/YAML-LibYAML/lib/YAML/XS.pod#$YAML::XS...) Having an older version results in errors while saving ES mappings: An error occurred when updating Elasticsearch index mappings: Unable to update mappings for index "koha_elastic5_biblios". Reason was: "Could not convert [isbn__sort.index] to boolean". Index needs to be recreated and reindexed. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27673 [Bug 27673] Replace YAML with YAML::XS -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org, | |mtj@kohaaloha.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 --- Comment #1 from Julian Maurice <julian.maurice@biblibre.com> --- Created attachment 119307 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119307&action=edit Bug 28110: Require YAML::XS 0.67 $YAML::XS::Boolean, which is used in Koha::SearchEngine::Elasticsearch, was introduced in 0.67 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |julian.maurice@biblibre.com |ity.org | Keywords| |dependency, | |rel_21_05_candidate --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- This was done for U16 support. Mason, can you have a look at this patch please? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #119307|0 |1 is obsolete| | --- Comment #3 from Séverine Queune <severine.queune@bulac.fr> --- Created attachment 119323 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119323&action=edit Bug 28110: Require YAML::XS 0.67 $YAML::XS::Boolean, which is used in Koha::SearchEngine::Elasticsearch, was introduced in 0.67 Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 Séverine Queune <severine.queune@bulac.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |severine.queune@bulac.fr --- Comment #4 from Séverine Queune <severine.queune@bulac.fr> --- Thanks Julian for the patch ! I had a similar error since a few days when I tried to reindex with ES : Unable to update mappings for index "koha_robin_biblios".Reason was: "Could not convert [koha-auth-number.ignore_malformed] to boolean".Index needs to be recreated and reindexed After I updated the lib lib YAML::XS (sudo cpanm install YAML::XS), and install the patch, reindexation finally worked ! I hope not to interfere Jonathan... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 --- Comment #5 from Mason James <mtj@kohaaloha.com> --- (In reply to Jonathan Druart from comment #2)
This was done for U16 support.
Mason, can you have a look at this patch please?
hi Jonathan, this looks ok to me i have built a new yaml 0.82 package for U16, from cpan root@u16:~# apt-cache policy libyaml-libyaml-perl libyaml-libyaml-perl: Installed: (none) Candidate: 0.82-1+koha2 Version table: 0.82-1+koha2 500 500 http://debian.koha-community.org/koha stable/xenial amd64 Packages 0.76+repack-1~bpo9+1 500 500 http://debian.koha-community.org/koha stable/main amd64 Packages 0.41-6build1 500 500 http://apt.kohaaloha.com:3142/ftp.nz.debian.org/ubuntu xenial/main amd64 Packages -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #119323|0 |1 is obsolete| | --- Comment #6 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 119549 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119549&action=edit Bug 28110: Require YAML::XS 0.67 $YAML::XS::Boolean, which is used in Koha::SearchEngine::Elasticsearch, was introduced in 0.67 Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to master Version(s)| |21.05.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 --- Comment #7 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Pushed to master for 21.05, thanks to everybody involved! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #8 from Fridolin Somers <fridolin.somers@biblibre.com> --- Depends on Bug 27673 not in 20.11.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28110 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rel_21_05_candidate | -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org