Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Servlets Resolver 2.0.6, JCR Resource 2.0.4, Engine 2.0.4, API 2.0.4
-
None
Description
A resource should only return a super resource type if it has configured one.
Currenty the jcr resource node implementation does a lookup of the resource representing its resource type to get the resource super type from there if it doesn't have a super type set.
This logic should solely be called from the script resolver (and not be tied to a resource implementation).
In this respect, the bundle resource should return "sling/bundle/resource" as it's super type and not null