Changes between Version 1 and Version 2 of Ticket #31240, comment 10
- Timestamp:
- Feb 6, 2020, 10:20:30 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31240, comment 10
v1 v2 13 13 I'm just not sure I understand how it is expected behaviour that using a temporary file in a FileResponse should disrupt any DB connections? The error raised when testing against MySQL/MariaDB is especially confusing when it says an error occurred inside a transaction. 14 14 15 And another thing to note is that if I create the response using FileResponse(__file__)instead of the temporary file, the error disappears.15 And another thing to note is that if I create the response using {{{FileResponse(__file__)}}} instead of the temporary file, the error disappears.