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

Converter does not override existing package dependencies when it doesn't have any dependencies

    XMLWordPrintableJSON

Details

    Description

      We used to not copy the dependencies from the properties of content packages. However, with SLING-10205 we started doing so. That would be fine, as we override the dependencies with the ones we want anyways - however, we don't do that in case we don't have any dependencies:

      https://github.com/apache/sling-org-apache-sling-feature-cpconverter/blob/master/src/main/java/org/apache/sling/feature/cpconverter/vltpkg/VaultPackageUtils.java#L93

      We need to remove the dependencies key if we don't have any dependencies.

      Attachments

        Issue Links

          Activity

            People

              karlpauls Karl Pauls
              karlpauls Karl Pauls
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: