-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.8.0-HF33, 6.0-HF11, 7.3
-
Component/s: Automation, Nuxeo Drive
-
Sprint:Sprint Drive 7.2-3
-
Story Points:3
As BlobWriter calls BufferingServletOutputStream.stopBufferingThread() to avoid buffering large files, the response can be sent to the client whereas the transaction is still not commited.
It is a problem for custom operations that do updates in the repository and return small JSON blobs to the client.
A possible solutions would be to handle the transaction explicitly in the JAX-RS Automation resource rather than in the Servlet filter.
- depends on
-
NXP-7823 Always commit the transaction before sending the response
- Resolved
- is required by
-
NXP-14325 Drive: random failure in test_sync_delete_root
- Resolved
-
NXP-14327 Drive: random failure in test_streaming_upload
- Resolved
-
NXP-14328 Drive: random failure at line 106, in test_make_documents
- Resolved
-
NXP-14329 Drive: random failure at line 349, in test_bad_mime_type
- Resolved
-
NXP-11584 Drive: take advantage of NXP-10964 (ensure transaction is commited by Automation before response is serialized to the client)
- Resolved