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

Reference to the invalid repository in feature file breaks commands

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.0.2
    • 4.0.4
    • karaf
    • None

    Description

      Feature commands don't work after registering feature repository with reference to the invalid repository.

      There is a feature repository "parent-1.0-features.xml" with reference to the invalid repository "child-1.0-features.xml" (e.g. with broken xml structure).
      When I add parent repo via command:

      karaf@root()> feature:repo-add mvn:parent/1.0/xml/features

      Command will add parent repo and child repo, but after this feature:* commands will not work at all, with exception like this:

      karaf@root()> feature:repo-list
      Error executing command: Unable to load mvn:child/1.0/xml/features : mvn:child/1.0/xml/features

      This child repository can't be removed using feature:repo-remove and that leads to unusable container.

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              alexander.osadchiy Alexander Osadchiy
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: