n8n icon indicating copy to clipboard operation
n8n copied to clipboard

fix(editor): Add length check for selecting added nodes (no-changelog)

Open alexgrozav opened this issue 3 months ago • 1 comments

Summary

If adding nodes fails or the node limit is reached, addedNodes will be an empty array.

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/CAT-385/typeerror-cannot-read-properties-of-undefined-reading-id

Review / Merge checklist

  • [x] PR title and summary are descriptive. (conventions)
  • [ ] Docs updated or follow-up ticket created.
  • [ ] Tests included.
  • [ ] PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

alexgrozav avatar Nov 29 '24 11:11 alexgrozav