Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6332

AttributeDefinition options should return null when not present

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • metatype-1.2.2
    • metatype-1.2.6
    • Metatype Service
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              cziegeler Carsten Ziegeler
              Zymus Zyle Moore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: