Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-8421

RichText link to pages are not updated at JCR when a page is moved

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an issue
    • Icon: Neutral Neutral
    • None
    • 6.2.39
    • None

      Steps to reproduce

      1.  Go to demo
      2.  At Pages app, create a page named test
      3. Create another page named test2
      4. Open test2 page and create a TextAndImage component
      5. Within the text field, create a link (magnoliaLink) to test page
      6. Go to JCR and check that the text property, within the generated link includes path=/test
      7. Go back to Pages-app and move the test page within travel site
      8. Check that the link still works (the link shown within the Preview option is correct)
      9. Go to JCR and check that the path within the text attribute hasn't been updated and still points to {{path=/test}

      Expected results

      The path is updated

      Actual results

      The path remains as when created

      Workaround

      N/A

      Development notes

      Under no headless approach, it doesn't matter. For solving the reference we just need the uuid and the workspace correctly set. You can even set a path property which does not exists and it will still be properly resolved.

      The issue is under the SPA approach. The path returned is the old one (before the page was moved) and the links generated by the SPA approach are broken, as far as the page is not on that location anymore

        Acceptance criteria

              Unassigned Unassigned
              ccantalapiedra Carlos Cantalapiedra
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: