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

Error while submitting the generated form if validation fails twice

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Duplicate
    • Icon: L2 - Critical L2 - Critical
    • None
    • 7.9.0
    • cockpit
    • None
    • 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

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

                Created:
                Updated:
                Resolved: