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

Default params + null request

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0
    • Component/s: WS-ECL
    • Labels:
      None

      Description

      If I declare an input field:
      INTEGER4 filterYear := -1 : stored('year');

      And submit (the same is true for SOAP/Test Form):

      {
       "test.13": {
       }
      }
      

      Then the default value is "-1" (correct)

      But if I submit:

      {
       "test.13": {
         "year": null,
       }
      }
      

      The default value is "0" (incorrect?)

        Attachments

          Activity

            People

            • Assignee:
              afishbeck Anthony Fishbeck
              Reporter:
              gordonsmith Gordon Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: