ObeoNetwork / M2Doc

The M2Doc technology enables the generation of Office Open XML documents from models.
http://obeonetwork.github.io/M2Doc/
Eclipse Public License 2.0
39 stars 22 forks source link

When using SiriusForceRefresh or providing a list of layers to activate, a copy of the representation is not deleted. #456

Open ylussaud opened 2 years ago

ylussaud commented 2 years ago

When using SiriusForceRefresh or providing a list of layers to activate, a copy of the representation is created. Under some conditions M2Doc fails to remove the copied representation (suffixed with _copy) after generation.

See this discussion for more details.

In the code this is done using an undo on the command stack. If an other command is executed in between, we might be undoing the wrong command.