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

Misleading UI when copying/renaming a page with modified title

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 7.4.2, 8.0
    • Actions
    • None
    • Unknown

    Description

      Steps to reproduce:

      • Create a page (non-terminal) called, for example, "Proces number one"
      • Edit this page in wysiwyg mode and correct its title to "Process number one". Save.
      • From the page administration menu, copy this page. At this point, the UI is the one from screenshot 1_CopyScreen.png: the title of the copied page is "Process number one", the corrected title. Same for the location of the copied page
      • Modify the title of the copied page to "Process number two". The location will change too, as in 2_CopyScreen.png
      • Click on copy

      Actual result:

      • When the copy is done, the confirmation screen displays the result page as "Process number one". See 3_ResultScreen.png
      • Clicking on the name of the page takes to a page whose title is "Process number one" (although the URL is correctly to page "Process number two"). See 4_PageScreen.png

      Expected result:

      • The confirmation screen should display title "Process number two"
      • When clicking on the name of the target page, it should take to a page whose title is "Process number two"

      The same happens when renaming a page, in the same conditions.
      Note that if step 2 is skipped (the title of the page is not different from the name of the page), this issue does not occur.

      Attachments

        1. 1_CopyScreen.png
          1_CopyScreen.png
          66 kB
        2. 2_CopyScreen.png
          2_CopyScreen.png
          81 kB
        3. 3_ResultScreen.png
          3_ResultScreen.png
          44 kB
        4. 4_PageScreen.png
          4_PageScreen.png
          47 kB

        Issue Links

          Activity

            People

              softec Denis Gervalle
              lucaa Anca Luca
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: