While creating the link for a detail page (CmsDefaultDetailPageHandler.java), the resource type of the resource is not read from the resource itself but from the parent folder (defined in the module config). If more than one resource type is in the same content folder, the link creation fails, because the latest entry in the config overrides the other.
While creating the link for a detail page (CmsDefaultDetailPageHandler.java), the resource type of the resource is not read from the resource itself but from the parent folder (defined in the module config). If more than one resource type is in the same content folder, the link creation fails, because the latest entry in the config overrides the other.
Example: Resource types in module config
JSP for announcement entry with a link to its detail page:
<cms:link>${content.filename}</cms:link>
--> filename: /support/announcement_00001.xmlCmsADEManager.getParentFolderType(true, '/.content/support/')
--> faq (not announcement) --> no detail page link created