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

The converter fails to properly convert null to array types

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: converter-1.0.4
    • Fix Version/s: converter-1.0.8
    • Component/s: Converter
    • Labels:
      None

      Description

      The Converter specification says in 707.4.3.1 that null should be converted to an empty array, however the current implementation converts to an empty `Object[]` regardless of the target type, for example a `byte[]`. This is clearly wrong as the returned object cannot be assigned to the target type!

        Attachments

          Activity

            People

            • Assignee:
              timothyjward Timothy James Ward
              Reporter:
              timothyjward Timothy James Ward
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: