Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30908

Fix Document sent to cold storage after restore

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

        1. NXP-30908_1.png
          1.55 MB
          Guillaume Renard
        2. NXP-30908_2.png
          1.65 MB
          Guillaume Renard

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: