Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-2076

Wrong filter for ConfigurationPlugin services

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • blueprint-cm-1.3.2
    • None
    • Blueprint
    • None

    Description

      Not sure, but it seems there's a bug in CmUtils at #97 (https://github.com/apache/aries/blob/ec09810b879e5913358da50d775eeaf30b95a34d/blueprint/blueprint-cm/src/main/java/org/apache/aries/blueprint/compendium/cm/CmUtils.java#L97)

      We're getting ConfigurationPlugin services to process properties before providing them to consumer and using the filter

      String filter = "(|(!(cm.target=*))(cm.target=" + targetPid + "))";

      but I suppose the filter should be
      "(|(cm.target=*)(cm.target=" + targetPid + "))"
      because cm.target must be either any or targetPid

      Attachments

        Activity

          People

            Unassigned Unassigned
            smokemaker Serge Starovoitenkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: