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

Reference to the invalid repository in feature file breaks commands

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment