[koha-commits] main Koha release repository branch master updated. v16.11.00-570-g7aa0808
Git repo owner
gitmaster at git.koha-community.org
Thu Mar 23 09:49:39 CET 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 7aa0808ff227850fc448b74dabed9b15ac0eb927 (commit)
via 48b1328ebeb7ed2337ba75a582705389767b691a (commit)
from 95f4c197692523d6abec712bbb003e4b710344e3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7aa0808ff227850fc448b74dabed9b15ac0eb927
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Mar 9 16:58:17 2017 -0300
Bug 18242: [SOLUTION 2]Handle correctly move to old_issues
The table old_issues has a primary key defined on the issue_id column.
This issue_id comes from the issues table when an item is checked in.
In some case the value of issue_id already exists in the table
Basically this happens when an item is returned and mysqld is restarted:
The auto increment value for issues.issue_id will be reset to
MAX(issue_id)+1 (which is the value of the last entry of old_issues).
See also the description of bug 18003 for more informations.
In this solution the change is done at code level instead of DB
structure: If old_issues.issue_id already exists before moving from
the issues table, the issue_id is updated (not on cascade for
accountlines.issue_id, should it?) before the move.
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
commit 48b1328ebeb7ed2337ba75a582705389767b691a
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Mar 9 16:41:31 2017 -0300
Bug 18242: [SOLUTION 2]Add tests
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Circulation.pm | 74 +++++++++++++++++++++-------------
t/db_dependent/Circulation/Returns.t | 28 ++++++++++++-
2 files changed, 73 insertions(+), 29 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list