[Koha-bugs] [Bug 18014] AddAuthority should respect AUTO_INCREMENT
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 31 20:21:18 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18014
M. Tompsett <mtompset at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #59668|0 |1
is obsolete| |
--- Comment #11 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 59701
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59701&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>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list