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

cam-file-download directive fails on empty variable

    Details

    • Type: Bug Report
    • Status: Open
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: 7.8.0-alpha3
    • Fix Version/s: None
    • Component/s: webapp
    • Labels:
      None
    • Environment:
      Wildfly 10

      Description

      If a file variable has not been set, e.g. because the upload was optional, an embedded form using the cam-file-download directive fails to load with the following JavaScript exception:

      deps.js?bust=7.8.0-alpha3:39649 TypeError: Cannot read property 'filename' of undefined
          at c.applyValue (camunda-tasklist-ui.js?bust=7.8.0-alpha3:6)
          at c.CamundaForm.applyVariables (camunda-tasklist-ui.js?bust=7.8.0-alpha3:6)
          at camunda-tasklist-ui.js?bust=7.8.0-alpha3:6
          at e (camunda-tasklist-ui.js?bust=7.8.0-alpha3:2)
          at Scope.$eval (deps.js?bust=7.8.0-alpha3:42353)
          at Scope.$apply (deps.js?bust=7.8.0-alpha3:42451)
          at g.done (camunda-tasklist-ui.js?bust=7.8.0-alpha3:2)
          at camunda-tasklist-ui.js?bust=7.8.0-alpha3:5
          at Request.callback (deps.js?bust=7.8.0-alpha3:162492)
          at Request.<anonymous> (deps.js?bust=7.8.0-alpha3:162136)
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            menge Falko Menge
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development