-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Element Template Validation Error Messages don't refer to actual template #2111
Labels
Milestone
Comments
MaxTru
changed the title
Element Template Validation Error Message don't refer to actual template
Element Template Validation Error Messages don't refer to actual template
Feb 22, 2021
MaxTru
added a commit
to bpmn-io/bpmn-js-properties-panel
that referenced
this issue
Feb 22, 2021
9 tasks
MaxTru
added a commit
to bpmn-io/bpmn-js-properties-panel
that referenced
this issue
Feb 22, 2021
MaxTru
added a commit
to bpmn-io/bpmn-js-properties-panel
that referenced
this issue
Feb 23, 2021
MaxTru
added a commit
to bpmn-io/bpmn-js-properties-panel
that referenced
this issue
Feb 23, 2021
MaxTru
added a commit
to bpmn-io/bpmn-js-properties-panel
that referenced
this issue
Feb 23, 2021
MaxTru
added
fixed upstream
Requires integration of upstream change
and removed
needs review
Review pending
labels
Feb 23, 2021
— with
bpmn-io-tasks
Closed via 2e1ecc1 |
bpmn-io-tasks
bot
removed
the
fixed upstream
Requires integration of upstream change
label
Mar 17, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
Most of the error messages produced by the https://github.com/bpmn-io/bpmn-js-properties-panel/blob/master/lib/provider/camunda/element-templates/Validator.js produce their errors without refering to which element template they refer to.
Steps to Reproduce
Example for
invalid property type
[diagram_1.bpmn] invalid property type <I dont exist>; must be any of { String, Text, Boolean, Hidden, Dropdown }
Note that the error message is not very helpful if you have many element template present since you will not know which element template is affected.
Expected Behavior
All element template validation errors refer to the affected template in a consistent way (e.g., by referring to
id
andname
)Environment
The text was updated successfully, but these errors were encountered: