You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2015/06/03 16:49:38 UTC

[jira] [Created] (SLING-4773) SlingMocks always returns jcr:primaryType for Resource.getResourceType()

Konrad Windszus created SLING-4773:
--------------------------------------

             Summary: SlingMocks always returns jcr:primaryType for Resource.getResourceType()
                 Key: SLING-4773
                 URL: https://issues.apache.org/jira/browse/SLING-4773
             Project: Sling
          Issue Type: Bug
    Affects Versions: Testing Sling Mock 1.3.0
            Reporter: Konrad Windszus


Even if a resource was created with {{sling:resourceType}} set has been created, calling {{Resource.getResourceType()}} will always return the "jcr:primaryType" even if "sling:resourceType" is being set.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)