RootTemplateContextPathStrategy: Allow to match all hierarchy pages against configured template paths

Description

https://github.com/wcm-io/wcm-io-caconfig/blob/develop/extensions/src/main/java/io/wcm/caconfig/extensions/contextpath/impl/RootTemplateContextPathStrategy.java#L157

the culprit is the line checking if templatePath is not null; It adds the page as a candidate in that case. However, it should only add the page as candidate if the template is in the list of templatePaths configured.

Status

Assignee

Unassigned

Reporter

Henry Kuijpers

Labels

None

Components

Priority

Major
Configure