[
https://issues.apache.org/jira/browse/JCRVLT-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marius Petria updated JCRVLT-108:
---------------------------------
Attachment: (was: JCRVLT-108.1.diff)
> Import of binaries fail because they cannot be converted to strings
> -------------------------------------------------------------------
>
> Key: JCRVLT-108
> URL: https://issues.apache.org/jira/browse/JCRVLT-108
> Project: Jackrabbit FileVault
> Issue Type: Bug
> Affects Versions: 3.1.26
> Reporter: Marius Petria
> Attachments: JCRVLT-108.2.diff, JCRVLT-108.diff
>
>
> Importing a binary that already exists will try to compare the existing
> binary with the current value by converting it to String [1]. That fails with
> {noformat}
> (org.xml.sax.SAXException: String is too long: 2318847178994591412
> java.lang.IllegalStateException: String is too long: 2318847178994591412)
> {noformat}
> [1]
> https://github.com/apache/jackrabbit-filevault/blob/e61e618796998175dde476ed8836fecd3ce2913b/vault-core/src/main/java/org/apache/jackrabbit/vault/util/DocViewProperty.java#L406
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)