[
https://issues.apache.org/jira/browse/SLING-12407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed SLING-12407.
------------------------------------
> 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
> Priority: Major
> Fix For: OSGi Feature Maven Plugin 1.8.6, 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)