[jboss-jira] [JBoss JIRA] (DROOLS-3735) [DMN Designer] Expression constraint is not parsed to Range constraint
Jozef Marko (Jira)
issues at jboss.org
Thu Mar 7 05:20:00 EST 2019
Jozef Marko created DROOLS-3735:
-----------------------------------
Summary: [DMN Designer] Expression constraint is not parsed to Range constraint
Key: DROOLS-3735
URL: https://issues.jboss.org/browse/DROOLS-3735
Project: Drools
Issue Type: Bug
Components: DMN Editor
Affects Versions: 7.19.0.Final
Reporter: Jozef Marko
Assignee: Jozef Marko
Attachments: Screenshot from 2019-03-07 11-11-18.png, Screenshot from 2019-03-07 11-11-30.png
If the data type constraint is set as {{[date( "2016-07-29" )..date( "2016-07-30" )]}} [0], it is not recognized as an range in the [1].
The problem is that our {{ParseService}} for parsing Range, doesn't check deeply, what is the type of {{StartNode}} [3]. And then the {{DateValueFormatter}} component fails to replace the leading {{date(}} [4].
[0]
!Screenshot from 2019-03-07 11-11-18.png|thumbnail!
[1]
!Screenshot from 2019-03-07 11-11-30.png|thumbnail!
[3]
https://github.com/kiegroup/kie-wb-common/blob/master/kie-wb-common-dmn/kie-wb-common-dmn-backend/src/main/java/org/kie/workbench/common/dmn/backend/editors/types/DMNParseServiceImpl.java#L54
[4]
https://github.com/kiegroup/kie-wb-common/pull/2508/files#diff-e199e1e595037dcb4b465ff36dd13a1f
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list