Serge Starovoitenkov created ARIES-2076:
-------------------------------------------
Summary: Wrong filter for ConfigurationPlugin services
Key: ARIES-2076
URL: https://issues.apache.org/jira/browse/ARIES-2076
Project: Aries
Issue Type: Bug
Components: Blueprint
Affects Versions: blueprint-cm-1.3.2
Reporter: Serge Starovoitenkov
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
--
This message was sent by Atlassian Jira
(v8.20.7#820007)