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

Page gets 404 when the beginning of the requested path matches handle prefix in site definition

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.6, 5.6.3
    • Fix Version/s: 5.5.12, 5.6.7, 5.7.1, 6.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Current online demo env
    • Epic Link:
    • Sprint:
      Kromeriz 153, Kromeriz 154, Kromeriz 155
    • Story Points:
      5
    • Magnolia Release:
      5.5.12, 5.6.8, 5.7.1, 6.0

      Description

      When a site is defined, it defines a handle prefix in mappings. If this handle prefix is similar to the beginning of the path of the page that it is being requested, then this first part of the path is removed and the page cannot be found and cannot be rendered, getting an error 404.

      How to reproduce it in demo website:

      If you create a page under travel demo website with a name that begins with travel, the page editor won't be able to edit it and if you try to render it you will get 404.

      Steps to reproduce:

      1. Create a page under /travel named travel0
      2. try to edit it -> 404
      3. try to render it directly: http://domain/magnoliaAuthor/travel/travel0 -> 404

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jsimak Jaroslav Simak
                Reporter:
                ebguilbert Edwin Guilbert
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: