You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let xmlString = xml ||DefaultEmptyXML(newId, newName, this.prefix);
When creating a new BPMN model the code above will use the model id (newId, a UUID) as the key parameter to the blank xml function. It in turns uses it as an id for the bpmn2:process element and its reference from BPMNPlane.
This results in a modeller that doesn't allow to drop elements to its canvas.
@diegonc Since the notification email from GitHub is in my spam list, I did not receive the issue notification in time. I use UUID as the key of the process to keep it consistent with the id of the model, but this is just an idea of mine. This is currently a bug. You can completely customize the key and name in the process.
lemon-workflow/lemon-workflow-frontend/package/process-designer/ProcessDesigner.vue
Line 362 in cb057e5
When creating a new BPMN model the code above will use the model id (
newId
, a UUID) as the key parameter to the blank xml function. It in turns uses it as an id for the bpmn2:process element and its reference from BPMNPlane.This results in a modeller that doesn't allow to drop elements to its canvas.
The patch below makes the modeller work again.
But I don't know if UUID are used elsewhere.
Here is the relevant ticket in bpmn-io ( bpmn-io/moddle-xml#41 )
The text was updated successfully, but these errors were encountered: