Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Changing file in edit view can lose data #85

Open
thenewguy opened this issue Dec 24, 2019 · 0 comments
Open

Changing file in edit view can lose data #85

thenewguy opened this issue Dec 24, 2019 · 0 comments

Comments

@thenewguy
Copy link
Collaborator

We need to protect file deletion with transaction.on_commit so that we do not delete the old file on disk and then find out we can't save - this leaves us in a bad spot:

original_file.storage.delete(original_file.name)

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants