[ 
https://issues.apache.org/jira/browse/SLING-3481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13951039#comment-13951039
 ] 

Carsten Ziegeler commented on SLING-3481:
-----------------------------------------

I think, that you can expect that you get the same (identical) object, so all 
wrapping should imho be avoided.

In this case we have the proxy which (afaik) is used for the namespace handling 
which I really believe is not really needed.

> AbstractSlingRepository2.login().getRepository() not symmetric
> --------------------------------------------------------------
>
>                 Key: SLING-3481
>                 URL: https://issues.apache.org/jira/browse/SLING-3481
>             Project: Sling
>          Issue Type: Bug
>          Components: General
>    Affects Versions: JCR Base 2.2.2
>            Reporter: Tobias Bocanegra
>            Priority: Minor
>             Fix For: JCR Base 2.2.4
>
>         Attachments: SLING-3481.r1582018..patch
>
>
> the AbstractSlingRepository2.login() returns a session, which does not return 
> the same repository object in 'getRepository()'.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to