You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2016/02/12 09:09:18 UTC

[jira] [Commented] (OAK-3683) BasicDocumentStore.testInterestingStrings failure on MongoDB after OAK-3651 with Java 8

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

Julian Reschke commented on OAK-3683:
-------------------------------------

The test was added by me because I observed that MongoDB would roundtrip this, so (AFAIR) I had to do some extra work in RDBDocumentStore to make that happen as well (JSON serialization/deserialization).

We could decide that we actually do not want to support that; in which case it would be good if all implementations rejected the value in the same way predictably.

> BasicDocumentStore.testInterestingStrings failure on MongoDB after OAK-3651 with Java 8
> ---------------------------------------------------------------------------------------
>
>                 Key: OAK-3683
>                 URL: https://issues.apache.org/jira/browse/OAK-3683
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mongomk
>    Affects Versions: 1.4
>         Environment: MongoDB 2.6.9, MongoDB 3.0.2
> Java 8
>            Reporter: Robert Munteanu
>
> On Java 8 only the following test fails:
> {noformat}Failed tests:   testInterestingStrings[MongoFixture: MongoDB](org.apache.jackrabbit.oak.plugins.document.BasicDocumentStoreTest): failure to round-trip brokensurrogate through MongoDB expected:<[?]> but was:<[�]>{noformat}
> According to git bisect the commit which started showing this error was [r1715092|http://svn.apache.org/viewvc?view=revision&revision=r1715092]: OAK-3651 - Remove HierrachialCacheInvalidator
> The command I used to run the tests was {{mvn -am -pl oak-core clean package -Dtest=BasicDocumentStoreTest -DfailIfNoTests=false}}



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