Description
Josef Moravec
2019-04-17 05:55:46 UTC
Created attachment 88137 [details] [review] Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls Test plan: Run tests, at least: t/db_dependent/Biblio.t t/db_dependent/Biblio/TransformHtmlToMarc.t t/db_dependent/Charset.t t/db_dependent/Circulation/GetTopIssues.t t/db_dependent/Filter_MARC_ViewPolicy.t t/db_dependent/ImportBatch.t t/db_dependent/Items.t t/db_dependent/Items/AutomaticItemModificationByAge.t t/db_dependent/Items/GetItemsForInventory.t t/db_dependent/Koha/Filter/EmbedItemsAvailability.t t/db_dependent/Serials.t t/db_dependent/XISBN.t t/db_dependent/FrameworkPlugin.t Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Hi Josef, one test fails :-( # at t/db_dependent/Items/GetItemsForInventory.t line 138. # Looks like you failed 1 test of 9. t/db_dependent/Items/GetItemsForInventory.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/9 subtests Test Summary Report ------------------- t/db_dependent/Items/GetItemsForInventory.t (Wstat: 256 Tests: 9 Failed: 1) Failed test: 7 Non-zero exit status: 1 Files=1, Tests=9, 2 wallclock secs ( 0.01 usr 0.01 sys + 1.82 cusr 0.22 csys = 2.06 CPU) Result: FAIL (In reply to Michal Denar from comment #2) > Hi Josef, > one test fails :-( > > # at t/db_dependent/Items/GetItemsForInventory.t line 138. > # Looks like you failed 1 test of 9. > t/db_dependent/Items/GetItemsForInventory.t .. Dubious, test returned 1 > (wstat 256, 0x100) > Failed 1/9 subtests > > Test Summary Report > ------------------- > t/db_dependent/Items/GetItemsForInventory.t (Wstat: 256 Tests: 9 Failed: 1) > Failed test: 7 > Non-zero exit status: 1 > Files=1, Tests=9, 2 wallclock secs ( 0.01 usr 0.01 sys + 1.82 cusr 0.22 > csys = 2.06 CPU) > Result: FAIL Sorry, I can't reproduce it ;( Created attachment 91252 [details] [review] Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls Test plan: Run tests, at least: t/db_dependent/Biblio.t t/db_dependent/Biblio/TransformHtmlToMarc.t t/db_dependent/Charset.t t/db_dependent/Circulation/GetTopIssues.t t/db_dependent/Filter_MARC_ViewPolicy.t t/db_dependent/ImportBatch.t t/db_dependent/Items.t t/db_dependent/Items/AutomaticItemModificationByAge.t t/db_dependent/Items/GetItemsForInventory.t t/db_dependent/Koha/Filter/EmbedItemsAvailability.t t/db_dependent/Serials.t t/db_dependent/XISBN.t t/db_dependent/FrameworkPlugin.t Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Rebased -- bug 22696 made changes to opac-ISBDdetail.pl not necessary. bug 22046 made changes to C4/Matcher.pm which conflicted, but were easily resolved. Also removed unused variable. Created attachment 91283 [details] [review] Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls Test plan: Run tests, at least: t/db_dependent/Biblio.t t/db_dependent/Biblio/TransformHtmlToMarc.t t/db_dependent/Charset.t t/db_dependent/Circulation/GetTopIssues.t t/db_dependent/Filter_MARC_ViewPolicy.t t/db_dependent/ImportBatch.t t/db_dependent/Items.t t/db_dependent/Items/AutomaticItemModificationByAge.t t/db_dependent/Items/GetItemsForInventory.t t/db_dependent/Koha/Filter/EmbedItemsAvailability.t t/db_dependent/Serials.t t/db_dependent/XISBN.t t/db_dependent/FrameworkPlugin.t Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Michal Denar <black23@gmail.com> Created attachment 91372 [details] [review] Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls Test plan: Run tests, at least: t/db_dependent/Biblio.t t/db_dependent/Biblio/TransformHtmlToMarc.t t/db_dependent/Charset.t t/db_dependent/Circulation/GetTopIssues.t t/db_dependent/Filter_MARC_ViewPolicy.t t/db_dependent/ImportBatch.t t/db_dependent/Items.t t/db_dependent/Items/AutomaticItemModificationByAge.t t/db_dependent/Items/GetItemsForInventory.t t/db_dependent/Koha/Filter/EmbedItemsAvailability.t t/db_dependent/Serials.t t/db_dependent/XISBN.t t/db_dependent/FrameworkPlugin.t Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Michal Denar <black23@gmail.com> Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com> Created attachment 91397 [details] [review] Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls Test plan: Run tests, at least: t/db_dependent/Biblio.t t/db_dependent/Biblio/TransformHtmlToMarc.t t/db_dependent/Charset.t t/db_dependent/Circulation/GetTopIssues.t t/db_dependent/Filter_MARC_ViewPolicy.t t/db_dependent/ImportBatch.t t/db_dependent/Items.t t/db_dependent/Items/AutomaticItemModificationByAge.t t/db_dependent/Items/GetItemsForInventory.t t/db_dependent/Koha/Filter/EmbedItemsAvailability.t t/db_dependent/Serials.t t/db_dependent/XISBN.t t/db_dependent/FrameworkPlugin.t Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Michal Denar <black23@gmail.com> Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Didn't spot any more occurrences. Does this warrant a check in the QA tools? Nice work! Pushed to master for 19.11.00 Enhancement not pushed to 19.05.x Sorry, I have no time to open new bug. cataloguing/value_builder/barcode_manual.pl lacks following line: use C4::Biblio qw/GetMarcFromKohaField/; Without this line, Internal server error occurs. (In reply to Oleg Vasilenko from comment #12) > Sorry, I have no time to open new bug. > > cataloguing/value_builder/barcode_manual.pl > lacks following line: > > use C4::Biblio qw/GetMarcFromKohaField/; > > Without this line, Internal server error occurs. Already fixed, by Bug 24503 |