Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14312

Problematic batch restore for Terminal pages

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      Steps:

      • Go to Sandbox.TestPage2
      • Go to the History tab, press Delete
        http://localhost:8080/xwiki/bin/deleteversions/Sandbox/TestPage2?form_token=87IUdKUtd7yurrFxA0dKvg&rev=1.1&language=en
        
      • You will be redirected to the History viewer. Here, the 'Restore' button has:
        http://localhost:8080/xwiki/bin/undelete/Sandbox/TestPage2?form_token=87IUdKUtd7yurrFxA0dKvg&id=39
        

        while the 'Batch' link has

        http://localhost:8080/xwiki/bin/undelete/Sandbox/TestPage2/WebHome?id=39&showBatch=true
        
      • Clicking on the batch link will take you to
        http://localhost:8080/xwiki/bin/undelete/Sandbox/TestPage2/WebHome?id=39&showBatch=true
        

        Here the page title and the button actions all contain links towards the 'space' link, not the 'terminal' one

        Cancel
        http://localhost:8080/xwiki/bin/view/Sandbox/TestPage2/
        

        Clicking on 'Restore' will take you to

        http://localhost:8080/xwiki/bin/view/Sandbox/TestPage2/?xpage=restore&jobId=refactoring/restore/1496155886229-430
        

        while the title link is

        http://localhost:8080/xwiki/bin/view/Sandbox/TestPage2/
        

        Clicking on the title will take you to a non existing page, even thou the terminal page TestPage2 was successfully restored.

      See steps.gif

      Attachments

        1. link.png
          link.png
          267 kB
        2. steps.gif
          steps.gif
          5.60 MB

        Issue Links

          Activity

            People

              enygma Eduard Moraru
              evalica Ecaterina Moraru (Valica)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: