6.2.0 CE M6
The ADT framework uses ddmTemplate is used to create a templateResource, the resourceId will be invalid. Instead of having the form of groupId#companyGroupId#templateId, it will always be groupId#companyGroupId#null
This is because in /portal-master/portal-impl/src/com/liferay/portal/templateparser/Transformer.java line 129 the templateId is set to a value that is obtained from the current context key "template_id".
For WCM templates this will contain the templateKey from the database for the linked ddmTemplate. But for ADT templates, the value will always be "null". So the final version of the templateResourceId is groupId#companyGroupId#null.
This makes it impossible for Liferay IDE's freemarker debugger to be able to set remote breakpoints since it can't properly identifiy the templateResourceId's ahead of time to install remote breakpoints.
- Discovered while testing
LPS-36285 Application Display Templates - Clicking into the menu in a Site's Administration throws console exception