[jboss-jira] [JBoss JIRA] (DROOLS-3852) [DMN Editor] Time constraint is not loaded in enumeration component

Jozef Marko (Jira) issues at jboss.org
Wed Apr 3 09:59:02 EDT 2019


Jozef Marko created DROOLS-3852:
-----------------------------------

             Summary: [DMN Editor] Time constraint is not loaded in enumeration component
                 Key: DROOLS-3852
                 URL: https://issues.jboss.org/browse/DROOLS-3852
             Project: Drools
          Issue Type: Bug
          Components: DMN Editor
    Affects Versions: 7.20.0.Final
            Reporter: Jozef Marko
            Assignee: Jozef Marko
         Attachments: Screenshot from 2019-04-03 15-52-33.png, Screenshot from 2019-04-03 15-52-44.png

User can declare valid enumeration as expression:
 !Screenshot from 2019-04-03 15-52-44.png|thumbnail! 

However it is not parsed as enumeration:
 !Screenshot from 2019-04-03 15-52-33.png|thumbnail! 

We need probably improve the conversion between UI and inner time representation. 

As part of this task we should refactor to repeated logic:
- https://github.com/kiegroup/kie-wb-common/blob/master/kie-wb-common-dmn/kie-wb-common-dmn-client/src/main/java/org/kie/workbench/common/dmn/client/editors/types/listview/constraint/common/typed/common/DurationHelper.java
- https://github.com/kiegroup/kie-wb-common/blob/master/kie-wb-common-dmn/kie-wb-common-dmn-client/src/main/java/org/kie/workbench/common/dmn/client/editors/types/listview/constraint/common/typed/date/DateValueFormatter.java#L46
- https://github.com/kiegroup/kie-wb-common/pull/2553 - TimeValueFormatter



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list