Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6330

Incorrect links for pages with UTF-8 names cause errors in the Page Editor

XMLWordPrintable

    • Sprint 5 (Basel)
    • 5

      See also the linked support tickets for more information.

      To reproduce the problem:

      • set UTF-8=true in magnolia.properties
      • create a page with e. g. the name "caractères français" (you might choose the STK articles template)
      • open the page and put two componentes in the content area
      • try to move the second component to the first place
      • (first try does fail but does not give an error on the UI)
      • (second try generates an error)

      It's also not possible to delete a component.

      Investigation found that the error happens here:

      InterceptFilter.java, line 209

      Node parent = session.getNode(pathParent+srcName);

      The path is wrong so fetching the node fails.

      At the moment it seems the path is wrong from within the very first filter. This would mean the problems would the generated by paths/links generated in the PageEditor GWT code.

      While fixing the issue we realised also adding a component or deleting it in page whose title contains UTF-8 characters would fail due to encoding issues with request parameters

        Acceptance criteria

              fgrilli Federico Grilli
              lfischer Lars Fischer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 1d
                    1d