Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-5903

Tasklist submits form variables even if they have not been supplied

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.4.0, 7.5.0-alpha3, 7.8.0-alpha5
    • Fix Version/s: 7.8.0, 7.8.0-alpha6
    • Component/s: tasklist
    • Labels:
      None

      Description

      Scenario:

      • a generic start/task form with form fields in the BPMN XML
      • user in tasklist enters no value for certain fields

      Current behavior:

      • tasklist submits all variables; those that have no value are submitted with an empty String value in the variable JSON
      • process variables are created for these values
      • some form field types are not able to handle an empty String value (e.g. date) and submitting fails

      Expected behavior:

      • Only those variables are submitted for which a value has been supplied

      Forum post:
      https://forum.camunda.org/t/error-in-non-mandatory-date-field-in-generic-form/331

        Activity

        Hide
        roman.smirnov Smirnov Roman added a comment -
        Show
        roman.smirnov Smirnov Roman added a comment - see pull request https://github.com/camunda/camunda-bpm-platform/pull/283

          People

          • Assignee:
            Unassigned
            Reporter:
            thorben.lindhauer Thorben Lindhauer
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development