[ 
https://issues.apache.org/jira/browse/SLING-7730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marius Petria reopened SLING-7730:
----------------------------------

Hi [~simone.tripodi], I am reopening this issue as we should provide an option 
on the vault package builder whether to run in strict mode or not (the default 
should be strict true). I want us to mitigate the possible impact of some 
usecases where this used to work and suddenly it will casue blocked queues.

> Distribution package is lost if there is an installation error on receiver 
> side
> -------------------------------------------------------------------------------
>
>                 Key: SLING-7730
>                 URL: https://issues.apache.org/jira/browse/SLING-7730
>             Project: Sling
>          Issue Type: Bug
>          Components: Content Distribution
>    Affects Versions: Content Distribution Core 0.2.10
>            Reporter: Simone Tripodi
>            Assignee: Simone Tripodi
>            Priority: Major
>             Fix For: Content Distribution Core 0.3.0
>
>         Attachments: SLING-7730.patch
>
>
> There is a little test to reproduce the error:
> * register namespaces on each:
> ** Sender
> *** URI = http://testsender
> *** Prefix = test
> ** Receiver
> *** URI = http://testreceiver
> *** Prefix = test
> * Create a resource on Sender
> * Add a property "test:testprop = testvalue" to the resource.
> On the Sender, SCD will indicate that this was a success, but on Receiver, 
> the resource is still missing:
> {code}
> 22.05.2018 18:29:42.881 *ERROR* [127.0.0.1 [1527010182811] POST 
> /libs/sling/distribution/services/importers/default HTTP/1.1] 
> org.apache.jackrabbit.vault.fs.impl.io.GenericArtifactHandler Error while 
> parsing null: {}
> org.xml.sax.SAXException: Unknown namespace URI: http://testauthor
>       at 
> org.apache.jackrabbit.vault.fs.impl.io.DocViewSAXImporter.startPrefixMapping(DocViewSAXImporter.java:511)
>  [org.apache.jackrabbit.vault:3.1.44]
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to