camunda / camunda-modeler

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

Should not enter error code variable before an error is selected #1257

Open ingorichtsmeier opened 5 years ago

ingorichtsmeier commented 5 years ago

For an attached boundary event, I can enter the Error code variable and the Error Message variable without selecting an error in the drop down.

This leads to errors in the process execution on the camunda engine.

Steps to Reproduce

Steps to reproduce the behavior:

  1. model a task
  2. attach an error bounday event
  3. fill the Error code variable and Error message variable (without selecting an error in the dropdown)

Expected Behavior

The fields should be disabled until an error is selected in the dropdown.

Environment

Please complete the following information:

pinussilvestrus commented 5 years ago

Thanks for your contribution! Will be a little nice improvement to ensure parity with the engine.

It will probably need a fix inside the bpmn-js-properties-panel.