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

In Webapps, bpmn-js and dmn-js have deprecated passing callbacks to some API methods

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • L3 - Default
    • None
    • None
    • None

    Description

      Problem

      Steps to reproduce

      1. In Cockpit, view a DMN table on the deployments page
      2. Click on "Edit" in the upper right corner
      3. Click on the button "Download changed version"
      4. Observe the developer console

      Observed behavior

      Error: Passing callbacks to importXML is deprecated and will be removed in a future major release. Please switch to promises: https://bpmn.io/l/moving-to-promises.html
          at Viewer.importXML (deps.js?bust=1652447272164:139842:20)
          at renderTable (cam-widget-dmn-viewer.js:311:19)
          at cam-widget-dmn-viewer.js:209:15
      

      Acceptance Criteria (Required on creation):

      When interacting with the bpmn-js or dmn-js API, the Webapps use promises instead of callbacks.

      Hints (optional):

      -

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              tassilo.weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Salesforce