Closed vpellegrino closed 1 year ago
@nikku I cannot set you as a reviewer, but a reviewer from your side would be highly appreciated.
I cannot reproduce the issue on our demo, stock dmn-js with the example you provided.
I cannot reproduce the issue on our demo, stock dmn-js with the example you provided.
The website you provided is opening a dmn editor. Where can I access a dmn viewer instead, please?
@vpellegrino Ah, that was the context that I was missing. Will try to reproduce against the viewer and create a test case for it.
Thanks for your contribution. Works for me.
@vpellegrino https://github.com/bpmn-io/dmn-js/pull/749 adds missing test coverage for this one. Please have a look.
You can run test coverage using the following command:
npm run dev -- dmn-js-literal-expression
That's great! Thanks for covering this test case @nikku
Released in v14.1.2
.
Closes https://github.com/camunda/web-modeler/issues/4252
There are situations when the
typeRef
related to a Literal Expression is just undefined. In these situations an error is thrown:With the proposed change, the
translate
function would returnundefined
(instead of blocking with an error), so the hyphen will be shown for this particular "Variable Type":