jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1513) RepositoryService.checkin should return information about newly created version
Date Wed, 02 Apr 2008 09:56:25 GMT
RepositoryService.checkin should return information about newly created version
-------------------------------------------------------------------------------

                 Key: JCR-1513
                 URL: https://issues.apache.org/jira/browse/JCR-1513
             Project: Jackrabbit
          Issue Type: Improvement
          Components: jackrabbit-spi
            Reporter: Julian Reschke


We have a mismatch between Node.checkin(), which returns a new Version object, and RepositoryService.checkin(),
which returns void.

Client of SPI, such as JCR2SPI, thus will have to make an additional request for the base
version property, with the obvious drawbacks (another call, and a potential cause for a race
condition).

Proposal: change the return code to NodeId.
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message