[ 
https://issues.apache.org/jira/browse/SLING-4773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Seifert resolved SLING-4773.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: Testing Sling Mock 1.3.2

Completed: At revision: 1684924  

the problem should be solved - i moved the namespace registering part to the 
adapter which is the better solution anyways.

please give it a try.

> SlingMocks always returns the value of property jcr:primaryType for 
> Resource.getResourceType()
> ----------------------------------------------------------------------------------------------
>
>                 Key: SLING-4773
>                 URL: https://issues.apache.org/jira/browse/SLING-4773
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>    Affects Versions: Testing Sling Mock 1.3.0
>            Reporter: Konrad Windszus
>            Assignee: Stefan Seifert
>             Fix For: Testing Sling Mock 1.3.2
>
>         Attachments: SLING-4773-testcase-v1.diff
>
>
> 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.



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

Reply via email to