Carsten Ziegeler created SLING-12407:
----------------------------------------

             Summary: Add analyser to check correct type of service ranking
                 Key: SLING-12407
                 URL: https://issues.apache.org/jira/browse/SLING-12407
             Project: Sling
          Issue Type: Improvement
          Components: Feature Model Analyser
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Feature Model Analyser 2.0.10


The service.ranking property must be of type Integer, otherwise it is ignored.
Unfortunately if the property is defined in JSON without the type, like
 "service.ranking": 100
then this results in a Long  - which is then ignored.
An analyser is needed to error when this happens and force to use
 "service:ranking:Integer": 100
instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to