Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-332

JcrPackageRegistry / JcrPackageImpl cannot deal with dependencies satisfied by FsPackageRegistry

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.6
    • Fix Version/s: 3.2.8
    • Component/s: Packaging
    • Labels:
      None

      Description

      The internal dependency checks of JcrPackageImpl as triggered via PackageManger or the JcrPackageRegistry directly are not taking the FSPackageRegistry into account. Therefore if a package installed via PackageManger might fail with the following errormessage:

       Error: Refusing to install package test:depends-on-immutable-package:1.0.0. required dependencies missing: [test/dependency:1.0.0]
      

      To resolve this the initialization of packagemanager that happens via the PackagingImpl (OSGi Service) should inject the FSPackageRegistry if present and adjust the resolution & dependency check logic to also consider packages from the FSPackageRegistry.

        Attachments

          Activity

            People

            • Assignee:
              tripod Tobias Bocanegra
              Reporter:
              dsuess Dominik Süß
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: