tickets: 2304
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2304 | 2006-07-07 19:30:28 | 2012-12-14 20:16:43 | 2022-03-06 03:25:38.217637 | Accepted | closed | Database layer (models, ORM) | Bug | Normal | fixed | [patch] DISABLE_TRANSACTION_MANAGEMENT is not working as described in Doc's | DISABLE_TRANSACTION_MANAGEMENT switch from the settings.py file doesn't do anything to the functions in transactions.py. I debugged the code yesterday and no matter what settings I had, .save() method for various models would either commit changes or raise the error about pending commits. Created a patch against the function set_dirty() that evaluates the settings.DISABLE_TRANSACTION_MANAGEMENT for being True and if so, simply returns out of the function. | tjshewmake | scott.benninghoff@openmercury.com | Unit of work, commit, rollback, transactions | 0 | 1 | 1 | 0 | 0 | 0 |