Simone Tripodi created SLING-7730:
-------------------------------------

             Summary: 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
             Fix For: Content Distribution Core 0.3.0


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