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

Send a http response error code if distribution package cannot be exported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Content Distribution Core 0.2.10
    • None
    • None

    Description

      In DistributionPackageExporterServlet [1] an error is logged if the package cannot be copied but it should also be signaled to the calling party by not sending 200 status code.

       

      [1]https://github.com/apache/sling-org-apache-sling-distribution-core/blob/7317793d754205b47c1edb24d259c725a12d4b67/src/main/java/org/apache/sling/distribution/servlet/DistributionPackageExporterServlet.java#L110

      Attachments

        Activity

          People

            mpetria Marius Petria
            mpetria Marius Petria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: