Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7730

Distribution package is lost if there is an installation error on receiver side

    XMLWordPrintableJSON

Details

    Description

      There is a little test to reproduce the error:

      • register namespaces on each:
      • 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:

      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]
      

      Attachments

        1. SLING-7730.patch
          0.5 kB
          Simone Tripodi

        Activity

          People

            simone.tripodi Simone Tripodi
            simone.tripodi Simone Tripodi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: