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

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: None

      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):

      -

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Tassilo Weidner-Mühl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: