camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.49k stars 477 forks source link

Export to PNG of a diagram with webhook connector fails #4127

Open barmac opened 7 months ago

barmac commented 7 months ago

Describe the bug

In Camunda Modeler 5.20.0, the attached BPMN fails to export to PNG, and an error is printed:

This page contains the following errors:error on line 1 at column 723: Unescaped '<' not allowed in attributes values
Below is a rendering of the page up to the first error. [ ERROR ]

insurance.bpmn.txt

When I remove the event with custom icon, it exports correctly.

Steps to reproduce

  1. Open the attached BPMN
  2. Try to export to PNG
  3. now this happens

Expected behavior

It should export.

Environment

Additional context

No response

nikku commented 7 months ago

This works with all but the webhook connector icon, cf. test diagram.

Hence I think there may be something wrong with the webhook connector icon. Let's update the scope of this issue accordingly.

barmac commented 7 months ago

Right, it works with the diagram you provided. I will update the issue accordingly.

SamanthaHolstine commented 1 month ago

Had a community member facing the same issue, printing the same error. Forum question here. The forum question includes the diagram having issues.