Carsten Ziegeler created SLING-4247:
---------------------------------------
Summary: Reconsider resource type handling
Key: SLING-4247
URL: https://issues.apache.org/jira/browse/SLING-4247
Project: Sling
Issue Type: Improvement
Components: Extensions
Affects Versions: Resource Merger 1.2.0
Reporter: Carsten Ziegeler
Fix For: Resource Merger 1.2.2
Right now, a merged resource gets the resource type of the first resource that
has a sling:resourceType property; however, some resource implementations (like
the JCR) do not require this property and use some other means (for example the
node type).
Therefore instead of relying on the property, the Resource#getResourceType
should be used instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)