Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5197

Features deployed from a KAR file do not respect the feature's install setting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.0.9
    • 4.1.2, 4.0.10, 4.2.0.M1
    • karaf
    • None
    • N/A

    Description

      KAR files deployed from the deploy directory install all features listed in the feature XML, even those whose install flag is set to manual. If the feature explicitly says the the feature is a manual install, the KAR deployer should not install the feature.

      Seems like a simple if (!feature.getInstall() == "manual") in KarServiceImpl: line 277 would fix the issue.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            gmccone George McCone
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: