question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot open a diagram if executionPlatformVersion is unknown

See original GitHub issue

Describe the Bug

When I try to open this diagram which is a valid BPMN but with modeler:executionPlatformVersion="7.14.0, Modeler displays a dialog and refuses to display the diagram.

<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_1snrxfq" targetNamespace="http://bpmn.io/schema/bpmn" xmlns:modeler="http://camunda.org/schema/modeler/1.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.14.0">

image

Steps to Reproduce

  1. Download the nightly
  2. Try to open the diagram
  3. now this happens

Expected Behavior

Modeler should never refuse to open valid BPMN 2.0 diagrams. It could warn the user about unsupported execution platform instead.

Environment

  • OS: MacOS
  • Camunda Modeler Version: nightly as of 17.01.2022
  • Execution Platform: Camunda Platform 7.14.0
  • Installed plug-ins: none

Additional context

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
schreuder71commented, Jul 15, 2022

Excellent. Thank you that worked.

1reaction
barmaccommented, Jul 15, 2022

Hi @schreuder71,

In the XML, find bpmn:definitions (it should be the top-most element), and modify it as in the diff below:

- <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_0rih9zo" targetNamespace="http://bpmn.io/schema/bpmn" xmlns:modeler="http://camunda.org/schema/modeler/1.0" exporter="Camunda Modeler" exporterVersion="5.0.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.14.0">
+ <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_0rih9zo" targetNamespace="http://bpmn.io/schema/bpmn" xmlns:modeler="http://camunda.org/schema/modeler/1.0" exporter="Camunda Modeler" exporterVersion="5.0.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0">

Specifically, it’s this part:

- modeler:executionPlatformVersion="7.14.0">
+ modeler:executionPlatformVersion="7.15.0">
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unknown execution platform error - Modeler - Camunda forum
When opening a bpmn diagram created by a co-worker, I get the below error. Note that my co-worker also uses Camunda, version 4.7.0....
Read more >
unable to start app from Appium Desktop app. Got an error ...
Possible Solutions: It can be permission issue. The appium is executed without root privilege so it cannot make the changes to the apk....
Read more >
Troubleshoot self-hosted integration runtime - Azure
Learn how to troubleshoot self-hosted integration runtime issues in Azure Data Factory and Azure Synapse Analytics pipelines.
Read more >
https://www.casetalk.com/tickets/print_all_bug_pag...
CaseTalk Edition: unknown ... Arrows will scroll the diagram (or move the current selection) ... F6 is disabled, and a new expression cannot...
Read more >
FactoryTalk Security System Configuration Guide
Identify the installed FactoryTalk Services Platform version .............. 212 ... Unknown, information about the account could not be obtained from.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found