Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-118

JVpp: 0 length arrays not handled properly in VPP responses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 16.09
    • None
    • None
    • None

      VPP responses often contain zero length arrays. That means the array's length is specified in other variable within the response. However the other variable can have any name and type so it is impossible to generate handling for these types.

      Suggested fix:
      1. Add annotation to vpe.api that will mark zero length array's length parameter

      The issue was identified in:
      https://wiki.fd.io/view/VPP/API_Concepts

            mgradzki Marek Gradzki
            mmarsale Maroš Maršalek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: