[ https://issues.apache.org/jira/browse/SLING-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-4247. ------------------------------------- Resolution: Fixed Fixed in rev 1649839, the resource type of the last resource returning one is used instead. > 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 > Assignee: 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)