-
Notifications
You must be signed in to change notification settings - Fork 35
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
WIP: removing empty FileInstance #1738
base: main
Are you sure you want to change the base?
WIP: removing empty FileInstance #1738
Conversation
* added restrictions to upload to SCADA project category
* Removes empty file instances when the ObjectVersion is disposed.
For whoever will take over this code, I put some logging (check for
and this was the output in the
As you can see, the first 5 FileInstance objects are crated, then as soon as the first ObjectVersion finishes, we are commiting changes to the DB (while the FileInstance objects have 0 size, no URL and no checksum). Then if someone deletes the video, the FileInstance objects will stay like that and they won't be removed (I think my PR should fix this). |
No description provided.