Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-21591

DESDL JSON Test creates invalid request for certain inputs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.x
    • Fix Version/s: 7.2.4
    • Component/s: DESDL
    • Labels:
      None

      Description

      For the EsdlExample test, if address only contains zip and type, the generated JSON request is missing comma in between the 2 fields:

      SyntaxError: JSON Parse error: Expected '}': {"CppEchoPersonInfoRequest": {
       "Name": {
        "First": "Joe", 
        "Last": "Doe"}, 
       "Addresses": {"Address": [
         {"Zip": "33487"
          "type": "Home"}]}}
      }

        Attachments

          Activity

            People

            • Assignee:
              mayx Yanrui Ma
              Reporter:
              mayx Yanrui Ma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: