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

Tobias Bocanegra commented on SLING-3481:
-----------------------------------------

for example, this does not work:

{code}
@Refererence
SlingRepository repo;

Session s = repo.login(...);
SlingRepository r = (SlingRepository) s.getRepository();
{code}


> 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
>             Fix For: JCR Base 2.2.4
>
>
> 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