Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-6155

issue in JSON parsing when node type is null

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.10.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1

      Description

      "hypervisor": {
      "status": "enabled",
      "service":

      { "host": "controller", "disabled_reason": null, ====================Value for this node is null "id": 7 }

      ,

      Since value is null, in JsonToYdtListener/enterJsonNode() disabled_reason is not added to YDT

      but in JsonToYdtListener/exitJsonNode() , there is no check that nodeType is null then we should not traverseToParent

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              Vidyashree-Huawei Vidyashree Rama
              Reporter:
              Vidyashree-Huawei Vidyashree Rama
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: