Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Testing Sling Mock 1.3.0
-
None
Description
Even if a resource was created with sling:resourceType being set to some value calling Resource.getResourceType() will always return the value of its "jcr:primaryType" property, even if the "sling:resourceType" property is being set.
Attachments
Attachments
Issue Links
- is related to
-
SLING-4362 [jcr mocks] Resource type not correctly loaded when using jcr mock
- Closed
-
SLING-4388 Use sling mocks for the validation core tests
- Closed