File Object should not be auto committed - Mendix Forum

File Object should not be auto committed

2

Hello Experts,

 

Problem Statement:

It has been observed that if someone creates object of File System entity or any entity which is associated via Generalization of File System, for uploading a file (on click on Upload File action) the object is getting auto committed even if we do not explicitly committing the object.

This Scenario mainly occurs if someone upload one file and refresh browser without saving or canceling the upload action.

 

Idle Solution:

Ideally file objects should not be auto committed and it should auto rollback if someone click on cancel button or browser gets refresh in between.

File Objects should only be committed if we save or submit the uploaded files. 

asked
1 answers

This would be useful. I wanted to compress images to improve upload times. But annoyingly I could never find a solution to stop documents from being auto committed to allow me to compress before they were committed

Created