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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.9
    • Fix Version/s: 4.1.2, 4.0.10, 4.2.0.M1
    • Component/s: karaf
    • Labels:
      None
    • Environment:

      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

            • Assignee:
              jbonofre Jean-Baptiste Onofré
              Reporter:
              gmccone George McCone
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: