You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2014/03/26 19:29:15 UTC
[jira] [Commented] (SLING-3481)
AbstractSlingRepository2.login().getRepository() not symmetric
[ 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)