[JBoss JIRA] (DROOLS-2233) DMN: time(date("2017-08-10")) should return 00:00:00z time
by Tibor Zimányi (JIRA)
Tibor Zimányi created DROOLS-2233:
-------------------------------------
Summary: DMN: time(date("2017-08-10")) should return 00:00:00z time
Key: DROOLS-2233
URL: https://issues.jboss.org/browse/DROOLS-2233
Project: Drools
Issue Type: Bug
Components: dmn engine
Affects Versions: 7.5.0.Final
Reporter: Tibor Zimányi
Assignee: Tibor Zimányi
According to the specification in section "10.3.2.3.5 date":
"Where necessary, including the valuedt function (see 10.3.2.x.6), a date value is considered to be equivalent to a date time value in which the time of day is UTC midnight (00:00:00)."
Currently the case time(date("2017-08-10")) returns null, because the evaluation ends with DateTimeException, because internally we represent dates as LocalDate class, which doesn't have time part.
I will provide a PR with a fix.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (DROOLS-2160) Enhance UI in Test Scenarios Editor
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2160?page=com.atlassian.jira.plugi... ]
Jozef Marko reassigned DROOLS-2160:
-----------------------------------
Assignee: Jozef Marko (was: Toni Rikkola)
> Enhance UI in Test Scenarios Editor
> -----------------------------------
>
> Key: DROOLS-2160
> URL: https://issues.jboss.org/browse/DROOLS-2160
> Project: Drools
> Issue Type: Enhancement
> Components: Test Scenarios Editor
> Reporter: Ivo Bek
> Assignee: Jozef Marko
> Labels: UX
> Attachments: Screenshot from 2017-12-01 16-38-52.png
>
>
> Test Scenarios editor needs to be polished:
> * Delete Buttons are too small - it would be good to enlarge them.
> * Some other elements doesn't have enough space around them.
> * Please do any other small visual changes which makes sense.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (DROOLS-2227) Verifier should manage predicate columns properly
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2227?page=com.atlassian.jira.plugi... ]
Jozef Marko commented on DROOLS-2227:
-------------------------------------
Hi [~Rikkola], sorry, was on training yesterday. How can I help you, do you plan to turn of validation form columns with predicate? I mean I can imagine the validation evaluates `eval(....)` expressions if there is some arithmetic operation consisting just of constatnts, however I am not sure what in cases like eval($count + $person.age).
> Verifier should manage predicate columns properly
> -------------------------------------------------
>
> Key: DROOLS-2227
> URL: https://issues.jboss.org/browse/DROOLS-2227
> Project: Drools
> Issue Type: Enhancement
> Components: Guided Decision Table Editor
> Reporter: Toni Rikkola
> Assignee: Toni Rikkola
>
> < Rikkola> for dtables, string comparison is probably enough,
> prooobably
> < Rikkola> and when I type that nope
> < Rikkola> eval( 1+1) and eval( 0+2) are the same, but no way to know
> < Rikkola> maybe a warning when columns like this are used, the V&V might
> not pick everything up
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (DROOLS-2232) Increase coverage org.kie.workbench.common.dmn.client.editors.expressions.types.literal
by Jozef Marko (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2232?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-2232:
--------------------------------
Description:
The actual coverage form the attachment should be increased.
- LiteralExpressionGrid
- LiteralExpressionColumnRenderer
- -LiteralExpressionUIModelMapper- - https://github.com/kiegroup/kie-wb-common/pull/1346
- -LiteralExpressionEditorDefinition- - just getters and setters
- -LiteralExpressionColumnHeaderMetaData- - just extends another class
- -LiteralExpressionGridRenderer- - just extends another class
was:
The actual coverage form the attachment should be increased.
- LiteralExpressionGrid
- LiteralExpressionColumnRenderer
- LiteralExpressionUIModelMapper
- -LiteralExpressionEditorDefinition- - just getters and setters
- -LiteralExpressionColumnHeaderMetaData- - just extends another class
- -LiteralExpressionGridRenderer- - just extends another class
> Increase coverage org.kie.workbench.common.dmn.client.editors.expressions.types.literal
> ---------------------------------------------------------------------------------------
>
> Key: DROOLS-2232
> URL: https://issues.jboss.org/browse/DROOLS-2232
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Jozef Marko
> Assignee: Jozef Marko
> Attachments: index.html
>
>
> The actual coverage form the attachment should be increased.
> - LiteralExpressionGrid
> - LiteralExpressionColumnRenderer
> - -LiteralExpressionUIModelMapper- - https://github.com/kiegroup/kie-wb-common/pull/1346
> - -LiteralExpressionEditorDefinition- - just getters and setters
> - -LiteralExpressionColumnHeaderMetaData- - just extends another class
> - -LiteralExpressionGridRenderer- - just extends another class
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months