[PAGES-986] Diff pages with two dashes in path Created: 21/Dec/22  Updated: 03/Jan/23  Resolved: 21/Dec/22

Status: Closed
Project: Magnolia pages module
Component/s: None
Affects Version/s: 6.2.24
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Sergio Marino Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Team: Services

 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.


Generated at Mon Feb 12 06:24:02 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.