[jboss-jira] [JBoss JIRA] (DROOLS-2392) [DMN Designer] Undo and Redo does not update user interface
Jozef Marko (JIRA)
issues at jboss.org
Tue Mar 27 05:01:00 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jozef Marko updated DROOLS-2392:
--------------------------------
Description:
Undo and consequent Redo of commands which manipulates context entries (basically all) for non trivial scenarios does not update user interface correctly.
In the steps for reproduce used AddRuleCommand, but generally it can be reproduced with any command.
h2. Acceptance test
h3. Prerequisite
# Prepare decision node that has context table as top level expression
# Add all expression types into this context table
## Function, Decision Table, Relation, Invocation, Literal expression, Context
# Save and reopen
h3. Test
# for each expression type
## execute command
### Literal Expression: type value (/)
### Context: adding entry, deleting entry (/)
### Decision table: change hit policy, add / remove input, add / remove output, add / remove rule, rename header cell, change data cell (/)
### Relation: add/remove row, add/remove column, change cell value (/)
### Function: change language, add/remove parameter, rename parameter, change cell value (/)
### Invocation:
## undo two times (to return into DRD)
## redo two times (the original command should take effect)
was:
Undo and consequent Redo of commands which manipulates context entries (basically all) for non trivial scenarios does not update user interface correctly.
In the steps for reproduce used AddRuleCommand, but generally it can be reproduced with any command.
h2. Acceptance test
h3. Prerequisite
# Prepare decision node that has context table as top level expression
# Add all expression types into this context table
## Function, Decision Table, Relation, Invocation, Literal expression, Context
# Save and reopen
h3. Test
# for each expression type
## execute command
### Literal Expression: type value (/)
### Context: adding entry, deleting entry (/)
### Decision table: change hit policy, add / remove input, add / remove output, add / remove rule, rename header cell, change data cell (/)
### Relation: add/remove row, add/remove column, change cell value (/)
### Function: change language, add/remove parameter, rename parameter, change cell value
### Invocation:
## undo two times (to return into DRD)
## redo two times (the original command should take effect)
> [DMN Designer] Undo and Redo does not update user interface
> -----------------------------------------------------------
>
> Key: DROOLS-2392
> URL: https://issues.jboss.org/browse/DROOLS-2392
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Reporter: Jozef Marko
> Assignee: Michael Anstis
> Attachments: Screenshot from 2018-03-16 10-38-41.png
>
>
> Undo and consequent Redo of commands which manipulates context entries (basically all) for non trivial scenarios does not update user interface correctly.
> In the steps for reproduce used AddRuleCommand, but generally it can be reproduced with any command.
> h2. Acceptance test
> h3. Prerequisite
> # Prepare decision node that has context table as top level expression
> # Add all expression types into this context table
> ## Function, Decision Table, Relation, Invocation, Literal expression, Context
> # Save and reopen
> h3. Test
> # for each expression type
> ## execute command
> ### Literal Expression: type value (/)
> ### Context: adding entry, deleting entry (/)
> ### Decision table: change hit policy, add / remove input, add / remove output, add / remove rule, rename header cell, change data cell (/)
> ### Relation: add/remove row, add/remove column, change cell value (/)
> ### Function: change language, add/remove parameter, rename parameter, change cell value (/)
> ### Invocation:
> ## undo two times (to return into DRD)
> ## redo two times (the original command should take effect)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list