You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
upload a file (v1). If I download the current version it is fine
Upload a file (v2) and replace the old version. If I download the current version it is fine
Upload a file (v3) and replace the old version. If I download the current version it is fine
restore the v1 file
download the file
Exected result
v1 file
Actual Result
Partial V1 file or no file.
Note
The binaries on AWS are all fine, and previous versions can all be downloaded correctly from OWC.
Additional Information
While debugging, I noticed that the reference to the file in the oc_filecache table is not updated. Specifically, when a file is restored, all data from the last uploaded version, including the size, remains unchanged, and the record for the current version is not updated. Thus, when restoring the file to version v1, I still see the data for v3 in the database.
If I manually force the correct size with an sql update, I have no problems downloading the file correctly.
The text was updated successfully, but these errors were encountered:
fabio14
changed the title
restored version of a file is not coccr
restoring a file from an older version corrupts it.
Jul 3, 2024
Steps to reproduce
Exected result
v1 file
Actual Result
Partial V1 file or no file.
Note
The binaries on AWS are all fine, and previous versions can all be downloaded correctly from OWC.
Additional Information
While debugging, I noticed that the reference to the file in the oc_filecache table is not updated. Specifically, when a file is restored, all data from the last uploaded version, including the size, remains unchanged, and the record for the current version is not updated. Thus, when restoring the file to version v1, I still see the data for v3 in the database.
If I manually force the correct size with an sql update, I have no problems downloading the file correctly.
The text was updated successfully, but these errors were encountered: