sartography / cr-connect

0 stars 0 forks source link

Fix workflow spec/category name validation #497

Closed Leashys closed 2 years ago

Leashys commented 2 years ago

In BPMN, the 'ID' field of a new spec or category can have all kinds of characters that wont save properly in the DB. This field should have its validator updated to only include A-Z, 0-9, and underscores. (Varchar eligible stuff)

Leashys commented 2 years ago

Cant start with a number either. go look at this https://forum.camunda.org/t/what-is-a-valid-qname/971 because the spec ID also has to be used as a qName ID in other places

calexh-sar commented 2 years ago

Working as designed.

calexh-sar commented 2 years ago

Working as designed.