Bug 15158

Summary: t/db_dependent/Circulation/GetTopIssues.t is failing in Jenkins
Product: Koha Reporter: Julian Maurice <julian.maurice>
Component: Test SuiteAssignee: Julian Maurice <julian.maurice>
Status: CLOSED FIXED QA Contact: Galen Charlton <gmcharlt>
Severity: minor    
Priority: P5 - low CC: tomascohen
Version: Main   
Hardware: All   
OS: All   
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
Bug 15158: Fix t/db_dependent/Circulation/GetTopIssues.t
Bug 15158: Fix t/db_dependent/Circulation/GetTopIssues.t

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!