Uploaded image for project: 'Magnolia Templating Essentials'
  1. Magnolia Templating Essentials
  2. MTE-109

Navigation - wrong highlighting

    XMLWordPrintable

    Details

    • Patch included:
      Yes
    • Epic Link:
    • Sprint:
      Maintenance 21
    • Story Points:
      1

      Description

      Wrong highlighting of open page.
      Similar to this issue -> MGNLSTK-496

       

      To test:

      1. Go to https://demoauthor.magnolia-cms.com/.magnolia/admincentral#app:pages:;
      2. Create a page "test" and 2 sub-pages: "hall" and "hallo"
      3. Open the "hallo" page in preview mode
      4. => Now both pages are highligted

      I think the error is in "isOpen" method in NavigationTemplatingFunctions, more specifically the usage of "startsWith"

       

       

        Checklists

        Acceptance criteria

          Attachments

            Activity

              People

              Assignee:
              fgrilli Federico Grilli
              Reporter:
              mariacero Maria Fernanda Acero
              Votes:
              6 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  Checklists

                  Bug DoR
                  DoD