- Issue created by @pameeela
- 🇩🇪Germany jurgenhaas Gottmadingen
Thanks @pameeela for reporting this with all the details. Fortunately, this is only for ECA 2.x, but no longer for the upcoming new version 3.
Not even sure it's a bug, it's because of inconsistent ECA config entities, as it turns out. Back in January, we provided a mechanism to get rid of that raw XML data that everybody was so afraid of. But we left the property
modeller: bpmn_io
in all the config entities. That should have been changed tomodeller: fallback
to indicate that we don't have XML data for bpmn_io available.It seems, it's too late to fix that now, so we should probably add a mechanism to automatically fall back to that rudimentary modeller if no XML data is available. I'll post an MR in a second for you to try.
- Merge request !536Issue #3533720 by pameeela, jurgenhaas: Fatal error when disabling a model... → (Merged) created by jurgenhaas
- 🇩🇪Germany jurgenhaas Gottmadingen
This is ready for review, but it requires also the MR for bpmn_io from the linked issue.
- 🇦🇺Australia pameeela
Thanks @jurgenhaas that does indeed fix the issue, but seems to cause a new one. With this change, the 'Edit' CTA becomes 'Edit with BNPM.io' in some cases (did not look into why, but probably obvious to you) and clicking that results in:
Error: Call to undefined method Drupal\eca\Plugin\ECA\Modeller\Fallback::prepareEmptyModelData() in Drupal\bpmn_io\Services\Converter\Converter->convert() (line 76 of modules/contrib/bpmn_io/src/Services/Converter/Converter.php).
So, wondering if this should just be "won't fix" since it's in the older branch anyway and is an edge case.
- 🇩🇪Germany jurgenhaas Gottmadingen
The label change is intentional and the other issue requires the mr from the related issue in bpmn_io as i mentioned in my previous comment.
- 🇦🇺Australia pameeela
Whoops! I read that comment then immediately forgot about it. Of course, it works with the other change.
- 🇩🇪Germany jurgenhaas Gottmadingen
Thank you so much for testing, will tag patch releases before the end of the week.
-
jurgenhaas →
committed 3b4b3ad7 on 2.1.x
Issue #3533720 by jurgenhaas, pameeela: Fatal error when disabling a...
-
jurgenhaas →
committed 3b4b3ad7 on 2.1.x