Bug 573320

Summary: Sequence Diagram - Reordering operand from semantic model
Product: [Modeling] Sirius Reporter: Glenn Plouhinec <glenn.plouhinec>
Component: DiagramAssignee: Project Inbox <sirius.diagram-inbox>
Status: UNCONFIRMED --- QA Contact:
Severity: normal    
Priority: P3 CC: laurent.fasani, pierre-charles.david
Version: unspecifiedKeywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:
Attachments:
Description Flags
Model to reproduce none

Description Glenn Plouhinec CLA 2021-05-03 10:17:38 EDT
Created attachment 286295 [details]
Model to reproduce

To reproduce the bug:
- Import the attached project "sequence_semantic_order", open the Sequence Diagram on Interaction representation and also the .interactions file.
- In the semantic model, reorder the Operand "condition1" by drag and drop it after the Operand "condition.2". Save.
- In the representation, the combined fragment is no more consistent and the two operands are overlapping.
- Try to do an "Arrange all" and a exception is raised

java.lang.StackOverflowError
	at org.eclipse.emf.transaction.impl.TransactionImpl.isRollingBack(TransactionImpl.java:695)
	at org.eclipse.emf.transaction.impl.TransactionImpl.isRollingBack(TransactionImpl.java:695)
	at org.eclipse.emf.transaction.impl.TransactionImpl.isRollingBack(TransactionImpl.java:695)
[loop...]

Sometimes another exception is raised:

java.lang.StackOverflowError
	at org.eclipse.emf.common.command.CompoundCommand.append(CompoundCommand.java:564)
	at org.eclipse.emf.transaction.util.ConditionalRedoCommand$Compound.chain(ConditionalRedoCommand.java:128)
	at org.eclipse.emf.transaction.util.CommandChangeDescription.chain(CommandChangeDescription.java:58)
	at org.eclipse.emf.transaction.impl.TransactionImpl.addTriggers(TransactionImpl.java:797)
	at org.eclipse.emf.transaction.impl.TriggerCommandTransaction.addTriggers(TriggerCommandTransaction.java:63)
	at org.eclipse.emf.transaction.impl.TriggerCommandTransaction.addTriggers(TriggerCommandTransaction.java:63)
[loop...]

Reproduced with Sirius 6.5.0 and 6.3.5.
Comment 1 Laurent Fasani CLA 2021-05-31 10:29:59 EDT
Is the issue undoable? if not this ticket may switch from a normal to a higher priority?