Bug 573320 - Sequence Diagram - Reordering operand from semantic model
Summary: Sequence Diagram - Reordering operand from semantic model
Status: UNCONFIRMED
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2021-05-03 10:17 EDT by Glenn Plouhinec CLA
Modified: 2021-05-31 10:29 EDT (History)
2 users (show)

See Also:


Attachments
Model to reproduce (3.47 KB, application/x-zip-compressed)
2021-05-03 10:17 EDT, Glenn Plouhinec CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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?