Session.getRepository() should return the object through which the Session was 
acquired
---------------------------------------------------------------------------------------

                 Key: OAK-49
                 URL: https://issues.apache.org/jira/browse/OAK-49
             Project: Jackrabbit Oak
          Issue Type: Bug
            Reporter: Michael Dürig
            Priority: Minor


Currently we have 
{code}
    repository.login().getRepository() != repository
{code}

which according to JSR 283 is not correct: "The Repository object through which 
a Session was acquired is retrieved with Session.getRepository()" [1].

[1] 
http://www.day.com/specs/jcr/2.0/4_Connecting.html#4.4.3%20Session%20to%20Repository

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to