[ 
https://issues.apache.org/jira/browse/OAK-3932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15119068#comment-15119068
 ] 

Julian Reschke edited comment on OAK-3932 at 1/27/16 12:37 PM:
---------------------------------------------------------------

In RDBDocumentStore, this should be done using "unwrap" (will fix myself later).


was (Author: reschke):
In RDBDocumentStore, this should be done using "unwrap" (fill fix myself later).

> DocumentStore.getIfCached() must not return NodeDocument.NULL
> -------------------------------------------------------------
>
>                 Key: OAK-3932
>                 URL: https://issues.apache.org/jira/browse/OAK-3932
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, mongomk, rdbmk
>    Affects Versions: 1.0, 1.2
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>              Labels: candidate_oak_1_0, candidate_oak_1_2
>             Fix For: 1.3.15
>
>
> In OAK-3559 [~tomek.rekawek] identified an issue with 
> {{MongoDocumentStore.getIfCached()}}. The method may return 
> NodeDocument.NULL, when it should actually return {{null}}. The contract of 
> the method does not mention it explicitly, but returning {{null}} is 
> consistent with other find methods and makes sense IMO. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to