[Koha-bugs] [Bug 18601] OAI/Sets.t mangles data due to truncate in ModOAISetsBiblios
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 23 20:35:42 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18601
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #63460|0 |1
is obsolete| |
--- Comment #2 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 63670
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63670&action=edit
[SIGNED-OFF] Bug 18601: OAI/Sets.t mangles data due to truncate in
ModOAISetsBiblios
This patch replaces the TRUNCATE statement in ModOAISetsBiblios by a
DELETE statement. A truncate will cause an implicit commit and will
therefore commit the transaction started in the test script.
Also simplifying the module load in the test script.
Test plan:
Do not apply this patch and observe that biblio records are added to your
database by running t/db_dependent/OAI/Sets.t.
Apply this patch, run the test again and verify that it does no longer
add records to your biblio table.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list