[Bug 40578] New: C4/Heading/UNIMARC.pm does deal with authorities
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40578 Bug ID: 40578 Summary: C4/Heading/UNIMARC.pm does deal with authorities Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: MARC Authority data support Assignee: koha-bugs@lists.koha-community.org Reporter: baptiste.wojtkowski@biblibre.com QA Contact: testopia@bugs.koha-community.org Bug 30047 is not working for UNIMARC. It requires C4/Heading/UNIMARC.pm to deal with autorities, which is not the case. -- 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=40578 Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |baptiste.wojtkowski@biblibr |ity.org |e.com Status|NEW |ASSIGNED -- 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=40578 --- Comment #1 from Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> --- Created attachment 185030 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=185030&action=edit Bug 40578: C4/Heading/UNIMARC.pm does deal with authorities TEST PLAN ON AN UNIMARC INSTANCE: 1 - Run tests, they don't work 2 - Run test plan of BZ30047 3 - Run tests, they now work -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40578 Mathieu Saby <mathsabypro@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mathsabypro@gmail.com --- Comment #2 from Mathieu Saby <mathsabypro@gmail.com> --- Hello Baptiste Is it ready to test? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40578 Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40578 --- Comment #3 from Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> --- Hello, Yes you can test it :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40578 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com Status|Needs Signoff |Failed QA --- Comment #4 from David Nind <david@davidnind.com> --- I've failed QA as the tests fail. I wasn't sure what tests to run, but assumed those in bug 30047. The patch still applies. I'm not that familiar with authorities, so not really sure how to do steps 3, 4, 6, 8 (or what to expect as the results of the steps). For step 9, could you add a sample to import? I'll leave it up to someone who is way more familiar with authority records and UNIMARC to test. Testing notes (so far) (using KTD): 1. Start up KTD as a UNIMARC instance: edit .env and change KOHA_MARC_FLAVOUR=unimarc 2. Run these tests - they fail (assuming this should be the tests in bug 30047): prove t/db_dependent/AuthoritiesMarc.t t/db_dependent/Authority/Merge.t t/db_dependent/Biblio.t t/db_dependent/Koha/Authorities.t t/db_dependent/Koha/Plugins/authority_hooks.t t/db_dependent/api/v1/authorities.t 3. Create a new authority, save. (Assuming a new authority record, not an authority type.) 4. Do this for various types 5. View the db records: SELECT * FROM auth_header\G - returns all the authority records, not sure what I'm looking for 6. Note new heading field is populated correctly - not sure what I'm looking for here. 7. Edit your new authorities 8. Confirm the heading field is updated correctly - not sure what the expected result is here. 9. Import some authorities and confirm heading generated correctly - a sample would be great. 10. Import auth via Z39.50 and confirm heading generated correctly - is there a French Z39.50 source we can use with UNIMARC authority records? Sample data in KTD only has National Library of France bibliographic Z39.50 source. Test Summary Report ------------------- t/db_dependent/AuthoritiesMarc.t (Wstat: 2816 (exited 11) Tests: 13 Failed: 1) Failed test: 12 Non-zero exit status: 11 Parse errors: Bad plan. You planned 14 tests but ran 13. t/db_dependent/Biblio.t (Wstat: 65280 (exited 255) Tests: 3 Failed: 2) Failed tests: 2-3 Non-zero exit status: 255 Parse errors: Bad plan. You planned 26 tests but ran 3. t/db_dependent/Koha/Authorities.t (Wstat: 2816 (exited 11) Tests: 9 Failed: 1) Failed test: 8 Non-zero exit status: 11 Parse errors: Bad plan. You planned 11 tests but ran 9. t/db_dependent/Koha/Plugins/authority_hooks.t (Wstat: 65280 (exited 255) Tests: 5 Failed: 1) Failed test: 4 Non-zero exit status: 255 t/db_dependent/api/v1/authorities.t (Wstat: 768 (exited 3) Tests: 6 Failed: 3) Failed tests: 2-3, 6 Non-zero exit status: 3 Files=6, Tests=51, 12 wallclock secs ( 0.04 usr 0.02 sys + 10.10 cusr 1.45 csys = 11.61 CPU) Result: FAIL -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org