- Issue created by @mxh
- 🇩🇪Germany jurgenhaas Gottmadingen
Yeah, that really can only be an upstream issue as saving a model from within the bpmn_io UI is always calling
\Drupal\eca\Entity\Eca::resetComponents
which empties the lists of events, conditions, actions and gateways. Afterwards, it goes through the XML from bpmn_io and adds components back to those lists one by one. So, if can only end up in the processable ECA config entity if it was in the XML before.Could you please report that upstream and provide the link here for reference?
I'm marking this as task as it needs an upstream bugfix, and I postpone it until we get more feedback from upstream.
However, here is a way to resolve this for when you recognize the issue for a given model: you can delete the
eca.model.ID
config entity and then open the model again. It will then be converted back from the ECA entity into a fresh bpmn_io model. What you will lose by that is the layout of the canvas and labels for conditions or annotations will be lost too. But at least the model should be repaired otherwise, i.e. the previously hidden action will then be visible again and can be deleted. - 🇩🇪Germany jurgenhaas Gottmadingen
Note: the workaround mentioned in #3 is only available in the latest release of both ECA and bpmn_io.