Bug 18359 - Calling Patron::Modification from a test may generate transaction problems
Summary: Calling Patron::Modification from a test may generate transaction problems
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: Main
Hardware: All All
: P5 - low major (vote)
Assignee: Chris Cormack
QA Contact: Galen Charlton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-31 08:22 UTC by Marcel de Rooy
Modified: 2019-06-27 09:24 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.