[MAGNOLIA-9079] Pages containing '.' (period) cause broken link to the page when configuration setting "server.defaultExtension" is empty Created: 21/Jul/23  Updated: 18/Sep/23  Resolved: 13/Sep/23

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 6.2.38
Fix Version/s: 6.2.39

Type: Bug Priority: Neutral
Reporter: Harry Moore Assignee: ricardo gonzalez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 1h
Original Estimate: Not Specified

Attachments: PNG File Screen_Capture_-_Jul_21__7_46_AM.png     PNG File Screen_Capture_-_Jul_21__7_46_AM2.png     PNG File Screen_Capture_-_Jul_21__7_48_AM.png     PNG File Screen_Capture_-_Jul_21__7_49_AM.png    
Issue Links:
Problem/Incident
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* 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:
Epic Link: AuthorX Support
Story Points: 3
Team: AuthorX
Work Started:
Approved:
Yes

 Description   

Steps to reproduce

  1. In the Configuration app change server, defaultExtension from "html" to "" (empty)
  2. in the Pages app create a page or rename an existing page so that the name now contains a period
  3. Preview the page

.. Logs, screenshots, gifs...

server log shows only this:

2023-07-21 08:04:59,264 WARN  info.magnolia.ui.framework.ioc.UiComponentProvider: Attempted to cache a UIComponent (PageDetailSubApp) instance in bean store containing another UIComponent (View)
2023-07-21 08:05:15,583 WARN  info.magnolia.ui.framework.ioc.UiComponentProvider: Attempted to cache a UIComponent (PageDetailSubApp) instance in bean store containing another UIComponent (View)
2023-07-21 08:05:24,075 WARN  info.magnolia.ui.framework.ioc.UiComponentProvider: Attempted to cache a UIComponent (PageDetailSubApp) instance in bean store containing another UIComponent (View)

Screen Capture - Jul 21, 7:49 AM

Screen Capture - Jul 21, 7:46 AM

Screen Capture - Jul 21, 7:46 AM

Screen Capture - Jul 21, 7:48 AM

Expected results

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

the page should render properly

Actual results

"page not found" page shows instead

Workaround

rename the page with no period characters

Development notes



 Comments   
Comment by Pierre-Yves Lendenmann [ 08/Sep/23 ]

SOC request: https://magnolia-cms.slack.com/archives/C05E6P5CPDM/p1694162891146949

Comment by Pierre-Yves Lendenmann [ 08/Sep/23 ]

SOC approval given

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