You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2020/02/19 13:37:00 UTC

[jira] [Created] (SLING-9088) Wrong require capability makes bundle unusable

Carsten Ziegeler created SLING-9088:
---------------------------------------

             Summary: Wrong require capability makes bundle unusable
                 Key: SLING-9088
                 URL: https://issues.apache.org/jira/browse/SLING-9088
             Project: Sling
          Issue Type: New Feature
          Components: General
    Affects Versions: Security 1.1.18
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Security 1.1.20


The require capability for http is currently wrong in bnd.bnd, it says:
osgi.implementation;filter:="(&(osgi.implementation=osgi.http)(version>=1.0)(!(version<=2.0)))"
As version 1.0 is higher 1.0 but not lower than 2.0, this does not match, same for any other 1.x version
It needs to read:
osgi.implementation;filter:="(&(osgi.implementation=osgi.http)(version>=1.0)(!(version>=2.0)))"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)