cds-videos
cds-videos copied to clipboard
deposit: delete file not propagated to the record
If a file is deleted in a published video, the deletion is not propagated to the record upon publishing.
duplicate of #1460
I don't think it's a duplicate, there is no error on the console when deleting the file but when publishing this action is not propagated correctly to the record.
With @ntarocco we looked into it and we think the problem it's the function from ObjectVersion
that it's called remove
vs delete
.
One deletes completely the ObjectVersion and the other one adds a new version marked as deleted. In the first case when merging the bucket with the record one we can't decide what to do with the ObjectVersion because there is no history and the truth is on the record part.
(I don't if anyone can understand what I just said)
yes, I was too fast to dismiss this as duplicate, as the description of the tickets was similar.