Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-3023

[DMN Designer] Data Types - Warnings - User must be warned when some operations affect other Data Types

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • None
    • None
    • DMN Editor

    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.

      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, ...)

      Attachments

        Activity

          People

            karreiro_ Guilherme Gomes (Inactive)
            karreiro_ Guilherme Gomes (Inactive)
            Jozef Marko Jozef Marko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: