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

cam-file-download directive fails on empty variable

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Won't Fix
    • L3 - Default
    • None
    • 7.8.0-alpha3
    • webapp
    • None
    • 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)
      

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              menge Falko Menge
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce