Bug 18359

Summary: Calling Patron::Modification from a test may generate transaction problems
Product: Koha Reporter: Marcel de Rooy <m.de.rooy>
Component: Test SuiteAssignee: Chris Cormack <chris>
Status: CLOSED INVALID QA Contact: Galen Charlton <gmcharlt>
Severity: major    
Priority: P5 - low CC: jonathan.druart
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Marcel de Rooy 2017-03-31 08:22:24 UTC
Running t/db_dependent/Letters/TemplateToolkit.t results in data modification.
Probably caused by the combination of AutoCommit==0 and txn_do in Patron/Modification.
Comment 1 Marcel de Rooy 2017-03-31 09:34:01 UTC
Hmm. The problem seems not to be Patron::Modification, but the AddReturn calls triggering a txn_do. See bug 17964.
Comment 2 Marcel de Rooy 2017-03-31 09:36:01 UTC
Closing this separate report. The problem should be solved on 17964.