-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: ADDONS_10.10, ADDONS_2021
-
Fix Version/s: coldstorage-2021.0.0, coldstorage-10.0.0
-
Component/s: ColdStorage, Glacier
-
Epic Link:
-
Sprint:nxplatform #56
Sending a document back to cold storage (after being restored) leads to an incorrect state.
Steps to reproduce:
1- Send a document to cold storage and wait for that it is indeed in a Cold storage state as shown in the picture NXP-30908_1.png
2- Request a retrieval and wait for it to be retrieved
3 - Once retrieved, request a restore and wait for it to be restored
4 - At this stage, the document is back to normal storage and the "Send to Cold Storage" action is available again
5 - Click on it
See that the cold info bar is displayed but it says
File restoration from cold storage in progress. Reload document in a short while.
as shown in NXP-30908_2.png. It is incorrect and we should have instead the same info bar than in NXP-30908_1.png
This is explained by the "coldstorage:beingRestored" flag property not being reset properly after the retore.