Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
- H2DB and Derby roundtrip any string
- PostgreSQL rejects the invalid string early
- DB2 and Oracle fail the same way as segment store (they persist the replacement character) (see OAK-5506)
- MySQL and SQLServer fail the same way as DB2 and Oracle, but here it's the RDBDocumentStore's fault, because the ID column is binary, and we transform to byte sequences ourselves
- Mongo claims it saved the document, but upon lookup, returns something with a different ID
Note that due to how RDB reads work, the returned document has the ID that was requested, not what the DB actually contains.
Attachments
Issue Links
- is blocked by
-
OAK-7268 document store: create charset encoding utility that detects malformed input
- Closed
- is related to
-
OAK-3683 BasicDocumentStore.testInterestingStrings failure on MongoDB with Java 8
- Open
-
OAK-7281 DocumentStore: long path handling looses information when strings are invalid
- Open
- relates to
-
OAK-5506 reject item names with unpaired surrogates early
- Open