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

Image references are broken when contained in a renamed terminal page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.10.6, 13.3
    • Fix Version/s: None
    • Component/s: Refactoring
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Image references are supposed to be refactored, as well as links, when a page is renamed, however it does not work properly when the image is contained in a terminal page.

      Reproduction steps:

      • Create a terminal page, and add an image as attachment
      • In another space, create a second page and include the image of the first page in the content, and a link to the first page
      • Rename the first created page, to put it in another space
      • View the second page

      Expected result:

      • The image is still displayed and the link points to the new page

      Obtained result:

      • The link points to the new page, but the image is not displayed anymore. When checking the wiki code of the page, you can see that the reference is still pointing to the old page.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              surli Simon Urli
              Reporter:
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Date of First Response: