Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-986

Diff pages with two dashes in path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Neutral
    • None
    • 6.2.24
    • None
    • None

    Description

      Steps to reproduce

      1.  Enable publications for page changes.
      2. Create a new page with name "Page with two dashes" (there are two spaces between "two" and "dashes"). It will create a page with path "Page-with-two--dashes".
      3. Publish new page.
      4. Go to Tasks, open Publication Request, click on "Show differences"
         

      .. Logs, screenshots, gifs...

      Expected results

      Differences are shown, as it is done for pages without two dashes in path.

      .. Justify non-trivial expectations with a link to a doc or a relevant discussion.

      Actual results

      Error with HTTP Status 500 and stacktrace:

      Workaround

      Development notes

      Just by only inserting one dash ("-") instead of two ("--"), the error goes away.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              smarino Sergio Marino
              Services
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD