Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of undefined (reading 'original_source_node_id') #4102

Closed
sentry-io bot opened this issue May 31, 2023 · 4 comments · Fixed by #4137
Closed

TypeError: Cannot read properties of undefined (reading 'original_source_node_id') #4102

sentry-io bot opened this issue May 31, 2023 · 4 comments · Fixed by #4137
Assignees
Labels
DEV: frontend P0 - critical Priority: Release blocker or regression

Comments

@sentry-io
Copy link

sentry-io bot commented May 31, 2023

Observed behavior

When searching for content through the 'Import from channels' modal, attempting to import your selections from search doesn't do anything. There's an underlying error that is preventing the copy operation.

Steps to reproduce the issue

  1. Clear site data
  2. Sign in
  3. Click ADD while editing a channel
  4. Click 'Import from channels'
  5. Search for something
  6. Select a card that doesn't have a thumbnail
  7. Click REVIEW
  8. Click IMPORT
  9. Observe nothing happens (error reported to Sentry below)

Sentry Issue: STUDIO-GBC

TypeError: Cannot read properties of undefined (reading 'original_source_node_id')
  at ContentNode.tableCopy (./shared/data/resources.js:1514:37)
  at callback (./shared/data/resources.js:1499:36)
  at call (./shared/data/resources.js:270:14)
...
(11 additional frame(s) were not displayed)
@bjester bjester added P0 - critical Priority: Release blocker or regression DEV: frontend labels May 31, 2023
@bjester
Copy link
Member

bjester commented May 31, 2023

This is somewhat related to #4101 in that the TreeResource copy code expects that the source node has been loaded into IndexedDB

@bjester
Copy link
Member

bjester commented May 31, 2023

We should likely load the selected nodes into the frontend IndexedDB when the user goes to review their selections.

@bjester
Copy link
Member

bjester commented May 31, 2023

Also somewhat connected to #4104

@bjester
Copy link
Member

bjester commented Jun 19, 2023

Closed by #4137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEV: frontend P0 - critical Priority: Release blocker or regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant