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

[jira] [Resolved] (FELIX-6332) AttributeDefinition options should return null when not present

     [ https://issues.apache.org/jira/browse/FELIX-6332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved FELIX-6332.
-------------------------------------
    Resolution: Fixed

THanks for the PR, its applied

> AttributeDefinition options should return null when not present
> ---------------------------------------------------------------
>
>                 Key: FELIX-6332
>                 URL: https://issues.apache.org/jira/browse/FELIX-6332
>             Project: Felix
>          Issue Type: Bug
>          Components: Metatype Service
>    Affects Versions: metatype-1.2.2
>            Reporter: Zyle Moore
>            Assignee: Carsten Ziegeler
>            Priority: Minor
>             Fix For: metatype-1.2.6
>
>
> OSGi Compendium 7.0.0, 105.14.2.18 and 105.14.2.19 specify that if the
> function returns null, there are no option values or labels available.
> Currently, these get set to String[0] because the options map.size()
> returns 0.
>  
> Should be fixed (I think) by https://github.com/apache/felix-dev/pull/49



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