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

[DMN Designer] Undo and Redo does not update user interface

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.8.0.Final
    • None
    • DMN Editor
    • None
    • 2018 Week 11-12, 2018 Week 13-14
    • Hide
      1. Create new diagram
      2. Add decision node
      3. Create there decision table as shown in the attachemnt
      4. Save and close whole diagram
      5. Reopen diagram and the given decision node
      6. For each cell [1, 2, 3], click on cell and select insert rule below
      7. Click 4 times undo
      8. Click 4 times redo
        1. In this moment, previously added three rules will no appear
      Show
      Create new diagram Add decision node Create there decision table as shown in the attachemnt Save and close whole diagram Reopen diagram and the given decision node For each cell [1, 2, 3] , click on cell and select insert rule below Click 4 times undo Click 4 times redo In this moment, previously added three rules will no appear
    • NEW
    • NEW

      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.

      Acceptance test

      Prerequisite

      1. Prepare decision node that has context table as top level expression
      2. Add all expression types into this context table
        1. Function, Decision Table, Relation, Invocation, Literal expression, Context
      3. Save and reopen

      Test

      1. for each expression type
        1. execute command
          1. Literal Expression: type value
          2. Context: adding entry, deleting entry
          3. Decision table: change hit policy, add / remove input, add / remove output, add / remove rule, rename header cell, change data cell
          4. Relation: add/remove row, add/remove column, change cell value
          5. Function: change language, add/remove parameter, rename parameter, change cell value
          6. Invocation: insert/remove parameter, change cell value
        2. undo two times (to return into DRD)
        3. redo two times (the original command should take effect)

            manstis@redhat.com Michael Anstis
            rh-ee-jomarko Jozef Marko
            Jozef Marko Jozef Marko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: