-
Notifications
You must be signed in to change notification settings - Fork 481
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
feat: support engine profile selection for DMN #2877
Conversation
d0684cc
to
5c993b6
Compare
Result after clicking on the create C7/C8 DMN button from welcome tab: Log message
|
It's not a plugin issue. Disabling plugins does not help. |
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.
Back to you @barmac :)
I can reproduce it. It must be something related to minification. |
fe21962
to
bf6235e
Compare
@andreasgeier Please download the artifact now. It should work correctly (works on my machine). |
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.
Works for me.
Have some small questions and findings
// then | ||
expect(wrapper.find('EngineProfile').exists()).to.be.true; | ||
|
||
console.log(instance.getCached().engineProfile); |
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.
Remove me :-)
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.
😅
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.
Done
// then | ||
expect(wrapper.find('EngineProfile').exists()).to.be.true; | ||
|
||
console.log(instance.getCached().engineProfile); |
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.
Remove me
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.
Done
const modeler = this.getModeler(); | ||
const activeViewer = modeler.getActiveViewer(); | ||
|
||
if (!activeViewer) { |
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.
When would this happen? If it can happen, why not test it?
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.
It occurred that we can safely remove this.
this.engineProfile.setCached(engineProfile); | ||
} catch (err) { | ||
|
||
// TODO |
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.
??
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.
This comes from https://github.com/camunda/camunda-modeler/blob/develop/client/src/app/tabs/bpmn/BpmnEditor.js#L453. Perhaps we can just mark it specifically that we don't need to react on error here.
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.
In fact, this doesn't happen as we don't allow unknown execution platform at this point.
cb65fb2
to
e4787c4
Compare
This requires some additional work. |
e4787c4
to
72a12cc
Compare
Ready for review again. The artifacts will be built in a couple of minutes. |
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.
✅ LGTM
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.
Nice!
Closes #2872