Error while submitting the generated form if validation fails twice

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Duplicate
    • Priority: L2 - Critical
    • None
    • Affects Version/s: 7.9.0
    • Component/s: cockpit
    • None
    • Environment:
      OS X Sierra, Chrome, Safari, Tomcat

      If you use any kind of validator (required, minlength, custom validator class etc.) in generated form and you try to submit the form when validation fails, then third time the different error message appears "An error happened while submitting the task form : Cannot read property 'type' of undefined" and you can't submit the form even if validation succeeds until you reload the form (please see attached screenshots).

      It seems to be JavaScript error. I debugged it little bit and found out it happens in http://<server_name>/camunda/app/tasklist/scripts/camunda-tasklist-ui.js?bust=7.9.0
      Looks like taskForm.variablesManager object has incorrect property "variables" when you try to submit form third time.

      I tried in Chrome and Safari browsers (OS X Sierra), Camunda runs on default Tomcat server.

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Stanislav Gorev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: