[
https://issues.apache.org/jira/browse/JCR-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584572#action_12584572
]
angela commented on JCR-1513:
-----------------------------
no objections. we originally had it but then got rid of the return values and
later on, re-added
a return value to the merge equivalent... so, having it for checkin would be
find with me as well.
> 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.