Johnson Ho created JCRVLT-630:
---------------------------------

             Summary: Unable to import binaryless packages from one datastore 
to another
                 Key: JCRVLT-630
                 URL: https://issues.apache.org/jira/browse/JCRVLT-630
             Project: Jackrabbit FileVault
          Issue Type: Bug
          Components: vlt
            Reporter: Johnson Ho


Unable to import a binaryless packages from one datastore to another. When 
creating a binaryless package using FileVault as part of the content.xml the 
data includes a binaryRef
{noformat}
<jcr:content
        
jcr:data="{BinaryRef}cc3959dc5fd54665c7d38471830663f3013baf4e83f8f251cd8997ffcf1be2f6:4503fbae2bd5df805a1a6245708f372c4e666d72"
        jcr:lastModified="{Date}2022-03-16T16:06:53.797-04:00"
        jcr:lastModifiedBy="workflow-process-service"
        jcr:mimeType="image/png"
        jcr:primaryType="oak:Resource"/>
{noformat}
The binaryRef *4503fbae2bd5df805a1a6245708f372c4e666d72* is computed using the 
binaryI d + the datastore reference key. This binds the binaryless package to 
the datastore. As a result, binaryless packages can only be installed into 
systems which have a shared datastore configured. When installing to a system 
which has a different datastore, the result is an OakConstraint 21 error.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to