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
- relates to
-
HSTTWO-3073 When multiple sitemap items qualify for linkrewriting for a node, the result depends on accidental order
- Closed
-
HSTTWO-3075 Backport When multiple sitemap items qualify for linkrewriting for a node, the result depends on accidental order
- Closed