Skip to content

[Sirius][Diagram] Exception during Undo/Redo

Bugzilla Link 582197
Status ASSIGNED
Importance P3 normal
Reported Jul 13, 2023 11:42 EDT
Modified Jul 17, 2023 06:03 EDT
Version 0.7.0

Description

We get several Undo/Redo exceptions. Here several ways to get a such exceptions
Component Diagram:

  • Create 3 Components
  • Create a link between 2 Components (A Substituion for example)
  • Retarget the link (source or target) to the 3rd Component
  • do Undo, Undo, Undo, -> you will get an Exception

    Package Component:
  • Create a Model and a Package (for example)
  • Create a Dependency between the Model and the Package)
  • Delete the Graphical view of the Model
  • Drop the Dependency from the ModelExplorer -> the Model and the Dependency are now represented on the Diagram
  • Undo, Undo, Undo > it breaks with org.eclipse.core.commands.ExecutionException: Undo of operation was rolled back (possibly due to concurrent write)

    DeploymentDiagram :
    as previously, with a Dependency between an ExecutionEnvironement and a Node.
    Such bugs can be reproduced with the pure Sirius version of the Papyrus-Sirius uml editor.