Open jomarko opened 1 week ago
Thanks @jomarko
@baldimir @yesamer : there is a strange behavior here, beside the one mentioned by Jozef.
The original dmn is invalid ->
string length()>0
because lenght()
requires a parameter, but in my local test it succeed validation, and even the behavior from editors suggest that, since the error is thrown during execution, and not during import (IINW) 🤔
@baldimir @yesamer On further investigation, here's the issues I found:
This seems to be a very interesting issue of using New vs Classic DMN editor.
We have this DMN model, from its content, created probably using the Classic DMN Editor.
reproducer.dmn.txt
Please notice, it contains invalid constraint definition
not(null) and (string length()>0)
. But it is good four reporting this issue.New DMN Editor
Once you upload the model into sandbox, fill some string for the user, you will see error. This is expected.
Then fix the constraint to be
string length(?)>0)
, and again check the run results. There will be still an error. This is not expected.New DMN Editor
DO the same steps as with New DMN editor using Classic editor. In the first phase, the error will be the same, that is expected.
In the second phase, the classic editor will start to work and user see the execution results. This is correct behavior that should be also for the NEW DMN Editor.