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

        thorben.lindhauer Thorben Lindhauer created issue -
        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
        roman.smirnov Smirnov Roman made changes -
        Field Original Value New Value
        Assignee Anna Pazola [ anna.pazola ]
        roman.smirnov Smirnov Roman made changes -
        Fix Version/s 7.8.0 [ 14894 ]
        roman.smirnov Smirnov Roman made changes -
        Rank Ranked higher
        yana.vasileva Yana Vasileva made changes -
        Affects Version/s 7.8.0-alpha5 [ 15099 ]
        anna.pazola Anna Pazola made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        anna.pazola Anna Pazola made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Original Estimate 0 minutes [ 0 ]
        Remaining Estimate 0 minutes [ 0 ]
        Assignee Anna Pazola [ anna.pazola ] Tassilo Weidner [ tassilo.weidner ]
        Resolution Fixed [ 1 ]
        tassilo.weidner Tassilo Weidner made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Tassilo Weidner [ tassilo.weidner ]
        yana.vasileva Yana Vasileva made changes -
        Fix Version/s 7.8.0-alpha6 [ 15101 ]
        thorben.lindhauer Thorben Lindhauer made changes -
        Workflow camunda BPM [ 38440 ] Backup_camunda BPM [ 61513 ]

          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