[ https://issues.apache.org/jira/browse/FELIX-5196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246575#comment-15246575 ]
Stephen Kahmann commented on FELIX-5196: ---------------------------------------- Looks like we could use match, but we'd have to convert the Map to a Dictionary. {code} Dictionary<String, Object> propertyDict = new Hashtable<String, Object>(capability.getPropertiesAsMap()); return m_name.equals(capability.getName()) && m_filter.match(propertyDict) && (m_filter.toString().contains("(mandatory:<*") || propertyDict.get("mandatory:") == null); {code} Thoughts? > Capabilities not matching because of case > ----------------------------------------- > > Key: FELIX-5196 > URL: https://issues.apache.org/jira/browse/FELIX-5196 > Project: Felix > Issue Type: Bug > Components: Bundle Repository (OBR) > Affects Versions: bundlerepository-2.0.6 > Reporter: Stephen Kahmann > > RequirementImpl is not matching Capabilities because it is using a filter > that ignores case. The Filter lowercases the keys, but this is also not done > when trying to match them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)