-
Notifications
You must be signed in to change notification settings - Fork 199
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 Templates Feature Is Aware of Versions #400
Conversation
0d6dfb5
to
72ee48c
Compare
22856d4
to
b1dfee9
Compare
b1dfee9
to
6d7d885
Compare
@barmac This is an issue unrelated to this PR. The XSS template breaks a CSS selector when updating the properties panel. I was able to reproduce this using Camunda Modeler v4.4.0. I guess this has been broken for a long time because we don't escape IDs that are used for CSS selectors. I've created an issue for this: camunda/camunda-modeler#2031 |
6d7d885
to
7518916
Compare
Thank you Philipp. Now I know why I wasn't able to reproduce that with 4.4.0. I used another template but not XSS task. Sorry for unnecessary alert. |
7518916
to
bc83eba
Compare
* element templates are considered unique based on ID plus version (two element templates can have same ID but different version making them unique) * validation is aware of versions * show version instead of date in element template description * element template select is aware of versions * versions are applied when applying an element template (`camunda:modelerTemplateVersion`) * simplify element template select (can only be visible if no element template applied) BREAKING CHANGES * element template select not visible when element template applied
This ensures that feature does not break when version is set to 0.
bc83eba
to
0a94507
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added 0a94507 and rebased on master
. Let's merge that.
❤️ |
camunda:modelerTemplateVersion
)Which issue does this PR address?
Related to camunda/camunda-modeler#1969
Closes #398
Acceptance Criteria
Definition of Done