Skip to content

copyToClipboard only shallow copies subgraphs #5002

@AustinMroz

Description

@AustinMroz

The copyToClipboard method of LGraphCanvas only walks the current graph for determining which subgraphs need to be serialized.

Getting to an actual visible error requires more steps than expected

  • Double nest a subgraph
  • Copy from the top level
  • Paste into a new workflow
    • At this point, the workflow verifiably only contains the single subgraph, but the nested one can still be viewed
  • Isolate from the parent workflow (closing it is sufficient)
  • Reload, and an error is thrown for non-existant subgraph

Image

┆Issue is synchronized with this Notion page by Unito

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions