[Koha-bugs] [Bug 18014] AddAuthority should respect AUTO_INCREMENT

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 3 11:51:46 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18014

--- Comment #16 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 59870
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59870&action=edit
Bug 18014: Add test to AuthoritiesMarc.t to expose problem in AddAuthority

Since AddAuthority uses max(id)+1 logic to produce the next authid,
authority id's will be reused when you delete the last record. This may
be a source of problems and will be addressed on the next patch.

This patch add a test to expose the problem.

Test plan:
[1] Run t/db_dependent/AuthoritiesMarc.t

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list