cmmn-js icon indicating copy to clipboard operation
cmmn-js copied to clipboard

Cannot import diagram with on part connections in different cases

Open romansmirnov opened this issue 8 years ago • 1 comments

Steps to reproduce:

  1. Create the following diagram image
  2. Try to re-import, then the following exception is thrown:
element <cmmn:PlanItem id="PlanItem_1dp82y9" /> referenced by <cmmn:PlanItemOnPart id="PlanItemOnPart_0qu0asc" />#sourceRef not yet drawn

Problem: The importer tries to draw the OnPart-connection of the second case while rendering the first case.

Hints:

  • this also occurs for CaseFileOnPart-connections
  • see forum post: https://forum.camunda.org/t/error-message-when-trying-to-load-cmmn-model/1562

romansmirnov avatar Sep 20 '16 07:09 romansmirnov

Having the same issue.. I read here https://forum.camunda.org/t/cmmn-diagram-does-not-open-error-not-yet-drawn/12545/14 that:

In my case, the solution was to remove the extra CasePlanModel. Apparently, CMMN can’t display multiple at once. (...)

but why is that? Why I can't have more than one CasePlanModel, in my case would be useful to do so..

Thanks in advice.

Ch4rl3B avatar May 11 '20 14:05 Ch4rl3B