В случае если скопированные элементы удалить из процесса, то при попытке вставки их в другой процесс, получаю ошибку, так и задумано?
java.lang.RuntimeException: Node not found in process definition: ID7, all nodes: [ID3, ID10]
at ru.runa.gpd.lang.model.ProcessDefinition.getGraphElementByIdNotNull(ProcessDefinition.java:348)
at ru.runa.gpd.editor.CopyGraphCommand.execute(CopyGraphCommand.java:154)
at org.eclipse.graphiti.ui.internal.editor.EmfOnGefCommand.execute(EmfOnGefCommand.java:
При этом после ошибки, вставка все же выполняется, баг
svn: 5780
Не исправлено.
Кидаю в процесс узел действие, копирую его, удаляю из процесса узел, сохраняю процесс, открываю другой процесс, нажимаю Вставить, возникает ошибка
См. видео
Last edit: vromav 2014-07-14
svn: 5792
не исправлено
java.lang.NullPointerException
at ru.runa.gpd.editor.CopyGraphCommand.execute(CopyGraphCommand.java:160)
at org.eclipse.graphiti.ui.internal.editor.EmfOnGefCommand.execute(EmfOnGefCommand.java:54)
at org.eclipse.graphiti.internal.command.GFPreparableCommand2.doExecute(GFPreparableCommand2.java:37)
at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)
at org.eclipse.emf.workspace.EMFCommandOperation.doExecute(EMFCommandOperation.java:119)
at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:513)
at org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.java:208)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:83)
at org.eclipse.graphiti.ui.internal.editor.GFCommandStack.execute(GFCommandStack.java:124)
at org.eclipse.gef.ui.actions.WorkbenchPartAction.execute(WorkbenchPartAction.java:83)
at ru.runa.gpd.editor.PasteAction.run(PasteAction.java:30)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
Last edit: vromav 2014-07-19
svn: 5802