Bug 15158 - t/db_dependent/Circulation/GetTopIssues.t is failing in Jenkins
Summary: t/db_dependent/Circulation/GetTopIssues.t is failing in Jenkins
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Julian Maurice
QA Contact: Galen Charlton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-09 13:47 UTC by Julian Maurice
Modified: 2016-06-21 21:40 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 15158: Fix t/db_dependent/Circulation/GetTopIssues.t (965 bytes, patch)
2015-11-09 13:47 UTC, Julian Maurice
Details | Diff | Splinter Review
Bug 15158: Fix t/db_dependent/Circulation/GetTopIssues.t (1021 bytes, patch)
2015-11-09 14:24 UTC, Tomás Cohen Arazi (tcohen)
Details | Diff | Splinter Review
Bug 15158: Fix t/db_dependent/Circulation/GetTopIssues.t (1.07 KB, patch)
2015-11-09 15:51 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Maurice 2015-11-09 13:47:19 UTC
t/db_dependent/Circulation/GetTopIssues.t is failing in Jenkins

DBD::mysql::st execute failed: Column 'biblioitemnumber' cannot be null [for Statement "..."] at /srv/jenkins/workspace/Koha_Master_U14/C4/Items.pm line 2205.
Comment 1 Julian Maurice 2015-11-09 13:47:52 UTC Comment hidden (obsolete)
Comment 2 Tomás Cohen Arazi (tcohen) 2015-11-09 14:24:46 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2015-11-09 15:51:32 UTC
Created attachment 44657 [details] [review]
Bug 15158: Fix t/db_dependent/Circulation/GetTopIssues.t

create_biblio was returning biblioitemnumber instead of biblionumber.
This can cause problems when biblionumber and biblioitemnumber are not
the same.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 4 Tomás Cohen Arazi (tcohen) 2015-11-09 15:54:11 UTC
Patch pushed to master.

Thanks Julian!