Skip to content

The "Duplicate Element" node action fails when applied to a NamespaceImport #1852

@pcdavid

Description

@pcdavid

Scenario:

Capture.video.du.2026-01-16.16-43-13.mp4

In org.eclipse.syson.diagram.services.DiagramMutationDiagramService.duplicateElementAndExpose(Element, IEditingContext, DiagramContext, Node, Map<NodeDescription, NodeDescription>), element.getOwningMembership() returns null, so the whole method returns null, which is interpreted as a failure by the enclosing ChangeContext model operation.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions