mitschke / vespucci

The Vespucci Graphical Editor - A modelling tool for architectural invariants
http://www.opal-project.de/vespucci_project/index.html
14 stars 3 forks source link

Undo-Redo-Bug #34

Open Thomas-S opened 13 years ago

Thomas-S commented 13 years ago
  1. Create a new *.sad-File
  2. Create two ensembles "Father" and "Mother"
  3. Create "Son" inside "Father"
  4. Select "Father", pull the outgoing arrow inside "Father" and select "Create Note Attachment To" -> "New Element: Note"
  5. Create an Incoming-Constraint from "Son" to "Mother"
  6. Delete "Father"
  7. Delete "Mother"
  8. Do "Undo" twice.
  9. Do Undo again and the following error message occurs: "Abnormal Workbench Condition java.lang.NullPointerException"

This also erases the entire Undo-Redo-Trace and if one deletes "Father" again, the Incoming-Constraint won't disappear.

theokischka commented 13 years ago

couldnt recreate this behaviour. after undoing deletion of mother and father undoing the creation of the incoming constraint worked properly.

Alwe commented 13 years ago

Undo of constraint creation is broken.

I think this is issue can be simplified to:

  1. Create constraint
  2. Undo