You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by "Michael Dürig (Created JIRA)" <ji...@apache.org> on 2012/04/05 13:17:24 UTC

[jira] [Created] (OAK-49) Session.getRepository() should return the object through which the Session was acquired

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

       

[jira] [Assigned] (OAK-49) Session.getRepository() should return the object through which the Session was acquired

Posted by "angela (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela reassigned OAK-49:
-------------------------

    Assignee: angela
    
> 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
>            Assignee: angela
>            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

       

[jira] [Commented] (OAK-49) Session.getRepository() should return the object through which the Session was acquired

Posted by "Michael Dürig (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247148#comment-13247148 ] 

Michael Dürig commented on OAK-49:
----------------------------------

I think we should remove the RepositoryAdaptor class and use a session independent value factory for creating the descriptor values.
                
> 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

       

[jira] [Commented] (OAK-49) Session.getRepository() should return the object through which the Session was acquired

Posted by "angela (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247150#comment-13247150 ] 

angela commented on OAK-49:
---------------------------

i will take care of that
                
> 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
>            Assignee: angela
>            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

       

[jira] [Resolved] (OAK-49) Session.getRepository() should return the object through which the Session was acquired

Posted by "angela (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved OAK-49.
-----------------------

    Resolution: Fixed
    
> 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
>            Assignee: angela
>            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