cuba-platform / bpm

Business Process Management Addon
https://www.cuba-platform.com/
Apache License 2.0
43 stars 23 forks source link

Missing validation for empty fields saving in Model Editor #8

Open haulmont-git opened 8 years ago

haulmont-git commented 8 years ago

====Steps:====

  1. Create new project with BPM base project.
  2. Open the screen BPM → Process models → Create.
  3. Enter the model name → OK → A new browser tab Model editor will be opened.
  4. Select the Process roles property in the model properties panel. → The process roles edit window will be opened.
  5. Create two roles with both fields fulfilled → Save
  6. Check the number of "proc roles" in Model editor
  7. Create some empty or half-empty roles:
  8. Check the number of "proc roles" in Model editor

====Actual Result:==== All the roles, including empty and half-empty, are saved and counted in Model editor !PL-7747_1.png! !PL-7747_2.png! ====Expected Result:==== Only completely fulfilled roles are saved and counted


Original issue: https://youtrack.haulmont.com/issue/PL-7747