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

Copy/Rename a page with a long reference should display a warning when the resulted path would be longer than 768 characters

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 11.4
    • None
    • Unknown

    Description

      STEPS TO REPRODUCE

      1. Create a page with a reference shorter than 255 characters (e.g. 240 chars): ttttttttttttttttttttttttttttttt1/ttttttttttttttttttttttttttttttt2/ttttttttttttttttttttttttttttttt3/ttttttttttttttttttttttttttttttt4/ttttttttttttttttttttttttttttttt5/ttttttttttttttttttttttttttttttt6/ttttttttttttttttttttttttttttttt7/ttttttttttttttt8
      2. Go to the top page from the hierarchy created
      3. Click 'More Actions' > 'Copy' or 'Move / Rename'
      4. Set another page with a longer name as copy location (e.g. Sandbox), make sure 'Preserve Children' is checked
      5. Click 'Copy' or 'Rename' respectively

      EXPECTED RESULTS

      A warning is displayed (like the one from XWIKI-16415) on the fact that the path resulted is too long.

      ACTUAL RESULTS

      No warning is displayed. The operation displays 'Done', even if it failed (this is another issue described in XWIKI-17006) and the pages are partially copied/ moved.

      Attachments

        1. Copy_over_255_path_length_error.png
          56 kB
          Ilie Andriuta
        2. Rename_over_255_path_length_error.png
          64 kB
          Ilie Andriuta
        3. Rename_partially_done_over_255.png
          78 kB
          Ilie Andriuta

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: