| Summary: | Unable to drag and drop a border node on list | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Maxime Porhel <maxime.porhel> | ||||
| Component: | Diagram | Assignee: | Florian Barbin <florian.barbin> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P1 | CC: | belqassim.djafer, florian.barbin, mickael.lanoe, pierre-charles.david | ||||
| Version: | 1.0.1 | Keywords: | triaged | ||||
| Target Milestone: | 3.0.0M5 | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 428079, 437370 | ||||||
| Attachments: |
|
||||||
|
Description
Maxime Porhel
The ClassCastException: org.eclipse.core.commands.ExecutionException: While executing the operation, an exception occurred at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:521) at org.eclipse.sirius.diagram.ui.tools.internal.editor.DDiagramCommandStack.execute(DDiagramCommandStack.java:75) at ... at org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTool.java:425) at org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(AbstractTool.java:438) at org.eclipse.gmf.runtime.diagram.ui.tools.DragEditPartsTrackerEx.executeCurrentCommand(DragEditPartsTrackerEx.java:151) at org.eclipse.gef.tools.DragEditPartsTracker.performDrag(DragEditPartsTracker.java:496) at ... at org.eclipse.equinox.launcher.Main.main(Main.java:1438) Caused by: java.lang.ClassCastException: org.eclipse.sirius.diagram.business.internal.metamodel.spec.DNodeSpec cannot be cast to org.eclipse.sirius.diagram.DNodeListElement at org.eclipse.sirius.diagram.business.internal.helper.task.DnDTasksOperations$1.execute(DnDTasksOperations.java:127) at org.eclipse.sirius.business.api.helper.task.TaskExecutor.operation(TaskExecutor.java:95) at org.eclipse.sirius.business.api.helper.task.TaskExecutor.execute(TaskExecutor.java:65) at org.eclipse.sirius.tools.api.command.SiriusCommand.doExecute(SiriusCommand.java:80) at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135) at ... at org.eclipse.sirius.diagram.ui.graphical.edit.policies.SiriusContainerDropPolicy$1.execute(SiriusContainerDropPolicy.java:259) at ... at org.eclipse.gmf.runtime.common.core.command.CompositeCommand.doExecuteWithResult(CompositeCommand.java:403) at org.eclipse.gmf.runtime.common.core.command.AbstractCommand.execute(AbstractCommand.java:134) at org.eclipse.sirius.diagram.ui.tools.internal.commands.WrappingCommandIgnoringAffectedFiles.execute(WrappingCommandIgnoringAffectedFiles.java:124) at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:513) ... 44 more Created attachment 248459 [details] Reproduction case Steps to reproduce: . Import the attached projet . Open a session . Open the "bug447727" diagram . Drag and drop the list element from NewEClass1 to NewEClass2: OK . Drag and drop the border node from NewEClass1 to NewEClass2: KO currently working on it The work is currently in progress in the case of bug 428079. See https://git.eclipse.org/r/#/c/37587 Verified on Sirius 3.0.0M6 Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0. |