[jboss-jira] [JBoss JIRA] (DROOLS-5369) [DMN Designer] Boxed expressions - Decision Table - Output clause - Selecting a structured type, sub-columns are auto-created

Jozef Marko (Jira) issues at jboss.org
Mon May 25 06:20:50 EDT 2020


     [ https://issues.redhat.com/browse/DROOLS-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jozef Marko updated DROOLS-5369:
--------------------------------
    Description: 
This jira is an enhancement of feature we introduced as DROOLS-3685

Whenever user selects a structured type, the output clauses columns get created with all fields belonging to the chosen structured type. 

h2. We can't make the user lose data
if the user already has a column with any data typed in, we have to keep it.

h2. Acceptance criteria
- Action should be undoable/redoable, especially if user had structure data type, more columns with a lot of data and mistakenly change to simple type, i.e. single column
- The feature works just for 1 level of nesting imagine structure below, just single column address will be created
{code}
Person {
  Address { 
    State {
       Code:String,
       FullName:String
    }
  }
}
{code}

  was:
This jira is an enhancement of feature we introduced as DROOLS-3685

Whenever user selects a structured type, the output clauses columns get created with all fields belonging to the chosen structured type. 

h2. We can't make the user lose data
if the user already has a column with any data typed in, we have to keep it.

h2. Acceptance criteria
- Action should be undoable/redoable, especially if user had structure data type, more columns with a lot of data and mistakenly change to simple type, i.e. single column



> [DMN Designer] Boxed expressions - Decision Table - Output clause - Selecting a structured type, sub-columns are auto-created
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DROOLS-5369
>                 URL: https://issues.redhat.com/browse/DROOLS-5369
>             Project: Drools
>          Issue Type: Enhancement
>          Components: DMN Editor
>    Affects Versions: 7.18.0.Final
>            Reporter: Valentino Pellegrino
>            Assignee: Valentino Pellegrino
>            Priority: Major
>              Labels: drools-tools
>
> This jira is an enhancement of feature we introduced as DROOLS-3685
> Whenever user selects a structured type, the output clauses columns get created with all fields belonging to the chosen structured type. 
> h2. We can't make the user lose data
> if the user already has a column with any data typed in, we have to keep it.
> h2. Acceptance criteria
> - Action should be undoable/redoable, especially if user had structure data type, more columns with a lot of data and mistakenly change to simple type, i.e. single column
> - The feature works just for 1 level of nesting imagine structure below, just single column address will be created
> {code}
> Person {
>   Address { 
>     State {
>        Code:String,
>        FullName:String
>     }
>   }
> }
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list