jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1513) RepositoryService.checkin should return information about newly created version
Date Thu, 17 Apr 2008 17:03:21 GMT

    [ https://issues.apache.org/jira/browse/JCR-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590104#action_12590104
] 

angela commented on JCR-1513:
-----------------------------

fixed in the sandbox:

- spi-logger
- spi-rmi
- spi2dav 

with rev. 649183.

regarding 3)... julian when would you like to change that?
i would either skip 3) at all (allow null return) or forbid null return right from the beginning.
what do you think?

angela


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