[JBoss JIRA] (DROOLS-3185) [DMN Designer] Change Literal Expression to Decision Table
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3185?page=com.atlassian.jira.plugi... ]
Michael Anstis commented on DROOLS-3185:
----------------------------------------
Exporting a DMN diagram from Trisotech gives {{typeRef="feel:string"}} in 1.1 and {{typeRef="string"}} in 1.2.
This could have quite an impact on the UI as we previously assumed built-in-types were {{feel:xyz}}.
> [DMN Designer] Change Literal Expression to Decision Table
> ----------------------------------------------------------
>
> Key: DROOLS-3185
> URL: https://issues.jboss.org/browse/DROOLS-3185
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.14.0.Final
> Reporter: Jozef Marko
> Assignee: Matteo Mortari
> Priority: Major
> Labels: drools-tools
> Attachments: Screenshot from 2018-10-25 14-40-06.png
>
>
> When user changes Decision node top level expression from literal expression to decision table, that decision table misses InputClause columns.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (DROOLS-3185) [DMN Designer] Change Literal Expression to Decision Table
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3185?page=com.atlassian.jira.plugi... ]
Michael Anstis commented on DROOLS-3185:
----------------------------------------
[~tari_manga] I understand what is the correct behaviour to know whether this is a UI or backend bug.
> [DMN Designer] Change Literal Expression to Decision Table
> ----------------------------------------------------------
>
> Key: DROOLS-3185
> URL: https://issues.jboss.org/browse/DROOLS-3185
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.14.0.Final
> Reporter: Jozef Marko
> Assignee: Matteo Mortari
> Priority: Major
> Labels: drools-tools
> Attachments: Screenshot from 2018-10-25 14-40-06.png
>
>
> When user changes Decision node top level expression from literal expression to decision table, that decision table misses InputClause columns.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (DROOLS-3185) [DMN Designer] Change Literal Expression to Decision Table
by Michael Anstis (Jira)
[ https://issues.jboss.org/browse/DROOLS-3185?page=com.atlassian.jira.plugi... ]
Michael Anstis commented on DROOLS-3185:
----------------------------------------
The problem is when the {{InputData}} is first created it has an {{InformationItem}} with {{typeRef}} of (for example) {{feel:string}}.
When it is saved and re-opened this becomes {{string}}. When the Decision Table is created {{string}} does not match any {{ItemDefinitions}} and no column is created.
This conversion from {{feel:string}} to {{string}} did not happen with DMN1.1.
IDK whether dropping of the prefix was a change in 1.2 or whether this is a bug in the marshaller.
The saved XML is:
{code}
<?xml version="1.0" ?>
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" id="_7DFD6D94-CC93-4B06-96FF-5C32C38C082D" name="_70792253-A6A8-4224-84E1-02971EC2AA3C" expressionLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://github.com/kiegroup/drools/kie-dmn/_86CE9955-1095-4A2F-89CC-86625...">
<dmn:extensionElements></dmn:extensionElements>
<dmn:inputData id="_1584517F-3FAD-4212-80EE-9ABB66E98140" name="InputData-1">
<dmn:variable id="_38BEAD43-AF48-4F54-853E-4487929DB80D" name="" typeRef="string"></dmn:variable>
</dmn:inputData>
<dmndi:DMNDI xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/">
<dmndi:DMNDiagram>
<dmndi:DMNShape id="dmnshape-_1584517F-3FAD-4212-80EE-9ABB66E98140" dmnElementRef="_1584517F-3FAD-4212-80EE-9ABB66E98140" isCollapsed="false">
<dmndi:DMNStyle>
<dmndi:FillColor red="255" green="255" blue="255"></dmndi:FillColor>
<dmndi:StrokeColor red="0" green="0" blue="0"></dmndi:StrokeColor>
<dmndi:FontColor red="0" green="0" blue="0"></dmndi:FontColor>
</dmndi:DMNStyle>
<dc:Bounds xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" x="289" y="88" width="100" height="50"></dc:Bounds>
<dmndi:DMNLabel></dmndi:DMNLabel>
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</dmn:definitions>
{code}
> [DMN Designer] Change Literal Expression to Decision Table
> ----------------------------------------------------------
>
> Key: DROOLS-3185
> URL: https://issues.jboss.org/browse/DROOLS-3185
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.14.0.Final
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Priority: Major
> Labels: drools-tools
> Attachments: Screenshot from 2018-10-25 14-40-06.png
>
>
> When user changes Decision node top level expression from literal expression to decision table, that decision table misses InputClause columns.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (DROOLS-3025) [DMN Designer] Data Types - Set a Data Type as a collection Data Type
by Jozef Marko (Jira)
[ https://issues.jboss.org/browse/DROOLS-3025?page=com.atlassian.jira.plugi... ]
Jozef Marko updated DROOLS-3025:
--------------------------------
Description:
- A Data Type must be set as a collection data type;
- Interaction:
!interaction.gif|thumbnail!
- When edit mode is closed, it should show "✔ Yes" for a collection data type and none for a non-collection data type:
!edit-mode-closed.png|thumbnail!
- PatternFly base element for the switch button https://www.patternfly.org/pattern-library/widgets/#bootstrap-switch
h2. Manual acceptance test
- Construct top level item definition
- Use in other structure as list
- Build and deploy
- Interact with kie-server
- Open in external designer (/)
- Firefox, Chrome, Edge (/)
was:
- A Data Type must be set as a collection data type;
- Interaction:
!interaction.gif|thumbnail!
- When edit mode is closed, it should show "✔ Yes" for a collection data type and none for a non-collection data type:
!edit-mode-closed.png|thumbnail!
- PatternFly base element for the switch button https://www.patternfly.org/pattern-library/widgets/#bootstrap-switch
h2. Manual acceptance test
- Construct top level item definition
- Use in other structure as list
- Build and deploy
- Interact with kie-server
- Open in external designer (/)
- Firefox, Chrome, Edge
> [DMN Designer] Data Types - Set a Data Type as a collection Data Type
> ---------------------------------------------------------------------
>
> Key: DROOLS-3025
> URL: https://issues.jboss.org/browse/DROOLS-3025
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Carreiro
> Assignee: Guilherme Carreiro
> Priority: Major
> Labels: drools-tools
> Attachments: edit-mode-closed.png, interaction.gif
>
>
> - A Data Type must be set as a collection data type;
> - Interaction:
> !interaction.gif|thumbnail!
> - When edit mode is closed, it should show "✔ Yes" for a collection data type and none for a non-collection data type:
> !edit-mode-closed.png|thumbnail!
> - PatternFly base element for the switch button https://www.patternfly.org/pattern-library/widgets/#bootstrap-switch
> h2. Manual acceptance test
> - Construct top level item definition
> - Use in other structure as list
> - Build and deploy
> - Interact with kie-server
> - Open in external designer (/)
> - Firefox, Chrome, Edge (/)
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months