Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-594

Restoring a document from another revision doesn't work when document has embedded resource(s)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.22.13, 2.24.01
    • 2.22.14
    • None
    • None

    Description

      Environment:
      -------------------
      HGG: I tried this scenario with version 3.05.09-SNAPSHOT

      Reproduction scenario:
      ---------------------------------
      1- Login to the CMS (In my case I used the 'admin' account)
      2- From the 'Browse' perspective select the 'Configuration' tab
      3- Go to the 'Event' document type and add a 'Resource' compound field
      4- Now go to 'Documents' and create a new 'Event' document
      5- Make different changes on different times to create one or more revisions
      6- Now from the 'Document' drop-down list select 'Show revision history...' and select any revision other than the one already used

      Expected:
      ---------------

      • A new tab with the document contents of that revision with the changes are highlighted and the 'Restore' and 'Revisions...' buttons displayed and enabled

      7- Select 'Restore'

      Expected:
      ---------------

      • The selected revision tab is closed and the of document contents still open with the changes applied by restoring this revision are highlighted and the document shows icon that it has changes to be published
      • When these changes are published the new content can be viewed with all the changes applied/restored by restoring the selected revision

      Actual:
      ----------

      • The selected revision tab is not closed
      • The changes of the selected revision are not applied to the document
      • Despite that the document shows that it has changes that needs to be published
      • All of the above is not consistent and incorrect

      Attachments

        Issue Links

          Activity

            People

              svoortman Simon Voortman (Inactive)
              mnour Mohammad Nour (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: