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

Generated links do not have always the same format

    XMLWordPrintable

Details

    Description

      Links generated by LinkUtil.createLink(node) should end up with the same link pattern always. It would not matter if the link is to a root page or a child one. Links should respect the pattern defined at /server@defaultExtension.

      For example, in Demopublic. You can see that generated link to root page in the header (magnolia logo) is generated to href='/' and the rest of the links are generated to '/*.html'. This happens when the generated link points to a site definition root node.

      Changed link render manager from MultiSiteLinkTransformerManager to LinkTransformerManager and works in the same way.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                miruela Mercedes Iruela
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - 5d
                      5d
                      Remaining:
                      Time Spent - 1.5d Remaining Estimate - 3.5d
                      3.5d
                      Logged:
                      Time Spent - 1.5d Remaining Estimate - 3.5d
                      1.5d