Camunda-modeler: "failed to parse document as <bpmn:Definitions>" error is logged (in web dev console) when saving dmn

Created on 10 May 2021  路  4Comments  路  Source: camunda/camunda-modeler

__Describe the Bug__

When saving a DMN diagram, the following error is logged:

Error: failed to parse document as <bpmn:Definitions>
    at error (script.bundle.js:11987)
    at script.bundle.js:12807
    at new Promise (<anonymous>)
    at Reader../node_modules/moddle-xml/dist/index.esm.js.Reader.fromXML (script.bundle.js:12792)
    at BpmnModdle../node_modules/bpmn-moddle/dist/index.esm.js.BpmnModdle.fromXML (script.bundle.js:158)
    at getRelationId (script.bundle.js:18262)
    at CloudConnectPlugin.handleTabSaved (script.bundle.js:17400)
    at s.<anonymous> (script.bundle.js:17662)
    at s.emit (events.js:146)
    at ba.emit (App.js:724)
    at ba.tabSaved (App.js:912)
    at ba.saveTab (App.js:1353)
    at async ba.triggerAction (App.js:2244)
    at async file:/home/maxtru/Dokumente/99_tmp/4.8_IntegrationTest/camunda-modeler-4.8.0-rc.0-linux-x64/resources/app.asar/public/bundle.js:65

__Steps to Reproduce__

  1. Open Modeler
  2. Active web developer console
  3. Create new DMN
  4. Save dmn using "save as"
  5. Error is logged
    bug2

__Expected Behavior__

No error is logged

__Environment__

  • OS: Linux
  • Camunda Modeler Version: 4.8.0-rc0
  • Installed plug-ins: CloudConnect
bug

All 4 comments

Note: this issue was present in 4.7.0. as well

Was this page helpful?
0 / 5 - 0 ratings