[
https://issues.apache.org/jira/browse/OAK-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15830168#comment-15830168
]
Chetan Mehrotra commented on OAK-3683:
--------------------------------------
bq. I think it would be much much simpler not to support these strings at all
(and to reject them early).
Rejecting node names having such chars is probably ok. However rejecting
property value does not look good. We should try to support storing any valid
string as a property value
> BasicDocumentStore.testInterestingStrings failure on MongoDB 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 HierarchicalCacheInvalidator
> 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)