[
https://issues.jboss.org/browse/DROOLS-3023?page=com.atlassian.jira.plugi...
]
Jozef Marko updated DROOLS-3023:
--------------------------------
Description:
1) When a Structure Data Type (with fields) is updated to a simple type (e.g. String,
Number, Date, etc), a warn message must appear informing the user that the fields will be
lost.
- tPerson
-- uuid
-- name
-- city (Structure) <-- If this data type is updated to "String", the
"uuid" and "name" fields will be lost.
--- uuid
--- name
----
2) When a Data Type is removed, a warn message must appear informing the user that data
types with the removed type will be removed too.
- tCity <-- If the user removes this Data Type
-- uuid
-- name
- tPerson
-- uuid
-- name
-- city (tCity) <-- This field will be removed too..
--- uuid <-- ..and consequently..
--- name <-- ..these two will be removed too.
h2. Manual acceptance test
Check warning list all occurrences:
- Remove item definition used as part of other item definitions (/)
-- Top level, all occurences removed
-- Nested level, top level definition remains
- Remove item definitions used as output data-type for decision node (x)
- Remove item definition used as data-type for expression element (column, parameter, ...)
(x)
was:
1) When a Structure Data Type (with fields) is updated to a simple type (e.g. String,
Number, Date, etc), a warn message must appear informing the user that the fields will be
lost.
- tPerson
-- uuid
-- name
-- city (Structure) <-- If this data type is updated to "String", the
"uuid" and "name" fields will be lost.
--- uuid
--- name
----
2) When a Data Type is removed, a warn message must appear informing the user that data
types with the removed type will be removed too.
- tCity <-- If the user removes this Data Type
-- uuid
-- name
- tPerson
-- uuid
-- name
-- city (tCity) <-- This field will be removed too..
--- uuid <-- ..and consequently..
--- name <-- ..these two will be removed too.
h2. Manual acceptance test
Check warning list all occurrences:
- Remove item definition used as part of other item definitions
-- Top level, all occurences removed
-- Nested level, top level definition remains
- Remove item definitions used as output data-type for decision node
- Remove item definition used as data-type for expression element (column, parameter,
...)
[DMN Designer] Data Types - Warnings - User must be warned when some
operations affect other Data Types
-------------------------------------------------------------------------------------------------------
Key: DROOLS-3023
URL:
https://issues.jboss.org/browse/DROOLS-3023
Project: Drools
Issue Type: Task
Components: DMN Editor
Reporter: Guilherme Carreiro
Assignee: Guilherme Carreiro
Priority: Major
Labels: drools-tools
Attachments: prototype.png
1) When a Structure Data Type (with fields) is updated to a simple type (e.g. String,
Number, Date, etc), a warn message must appear informing the user that the fields will be
lost.
- tPerson
-- uuid
-- name
-- city (Structure) <-- If this data type is updated to "String", the
"uuid" and "name" fields will be lost.
--- uuid
--- name
----
2) When a Data Type is removed, a warn message must appear informing the user that data
types with the removed type will be removed too.
- tCity <-- If the user removes this Data Type
-- uuid
-- name
- tPerson
-- uuid
-- name
-- city (tCity) <-- This field will be removed too..
--- uuid <-- ..and consequently..
--- name <-- ..these two will be removed too.
h2. Manual acceptance test
Check warning list all occurrences:
- Remove item definition used as part of other item definitions (/)
-- Top level, all occurences removed
-- Nested level, top level definition remains
- Remove item definitions used as output data-type for decision node (x)
- Remove item definition used as data-type for expression element (column, parameter,
...) (x)
--
This message was sent by Atlassian Jira
(v7.12.1#712002)