OSerializationException when uploading binary data
See original GitHub issueIn the studio frontend of 1.7-rc2 I’m experiencing the following exception
"com.orientechnologies.orient.core.exception.OSerializationException: Error on unmarshalling JSON content for record #15:0\r\n--> com.orientechnologies.common.io.OIOException: Bad Base64 input character decimal 36 in array position 0"
when I want to upload a pdf file or the base64 encoded version of that pdf (in a plain text file) into a BINARY field and save the record. The result is that the record changes are not saved. The issue is unrelated to other class fields. The types table in the wiki (https://github.com/orientechnologies/orientdb/wiki/Types) states that the binary field should work with “base64 encoded binary” (I’m using the linux base64 command of GNU coreutils 8.21).
Issue Analytics
- State:
- Created 9 years ago
- Comments:9 (7 by maintainers)
Top GitHub Comments
Agreed. That’s what I meant.
Hi @krichter722
Since uploading binary is not supported i suggest to add a warning and do not allow the operation. WDYT?