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

Pages containing '.' (period) cause broken link to the page when configuration setting "server.defaultExtension" is empty

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.2.39
    • 6.2.38
    • None
    • None

    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

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              ricardo.gonzalez ricardo gonzalez
              hmoore@tbscg.com Harry Moore
              AuthorX
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Work Started:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

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