Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-3130

Improvement to the sitemapitem match

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.28.07
    • 2.30.00
    • None

    Description

      On org.hippoecm.hst.core.linking.LocationMapResolver#resolve when two relative content path match equally well, there is an algorithm that defines the order in which a sitemap item is preferred.
      On step 6 of this algorithm (If still no best context hit found, we return the first matchingSiteMapItem in the matchingSiteMapItems list, as there they are all equally out of context) it could return the sitemapitem with the shortest path.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              llemos Luís Pedro Lemos (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: