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

feature update failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • karaf
    • None

    Description

      the following used to work in the past, but is broken in current trunk

      use case:

      prerequisite fetaure-1.xml:

      • contains one bundle
      • have same version for feature and bundle 1.0.0-SNAPSHOT

      prerequisite fetaure-2.xml:

      • contains same bundle, updated version
      • have same version for feature and bundle 1.0.1-SNAPSHOT

      actions:

      1) auto-install feature-1.xml via drop into etc/feature.xml

      • verify both feature and bundle are installed of v 1.0.0-SNAPSHOT
      • only feature-1/bundle-1 are present

      2) auto-install feature-2.xml via drop into the same etc/feature.xml

      • verify both feature and bundle are installed of v 1.0.1-SNAPSHOT
      • only feature-2/bundle-2 are present, and feature-1/bundle-1 is gone

      current result (failure condition):

      • both feature-1/bundle-1 and feature-2/bundle-2 are installed.

      here is the test
      https://github.com/barchart/barchart-service/blob/master/barchart-karaf-base-verify/src/test/java/com/barchart/karaf/test/ChangeVersionTest.java

      Attachments

        Activity

          People

            Unassigned Unassigned
            andrei.pozolotin Andrei Pozolotin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: