You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a published entry has a reference that is unpublished, we are getting an error thrown back to us. 'TypeError: Cannot read property \'_deferred\' of undefined', 'at Contentfully._dereferenceLink (.../contentfully/dist/Contentfully.js:94:18)'
This is using the Delivery API, we haven't tested if the issue is the same in the preview API
Ideally, if a reference is unpublished, we shouldn't get an error. Only return references that are published and ignore unpublished references. As a content editor, if I leave something in draft mode, I wouldn't want to see it on my published page.
The text was updated successfully, but these errors were encountered:
Issue
When a published entry has a reference that is unpublished, we are getting an error thrown back to us.
'TypeError: Cannot read property \'_deferred\' of undefined', 'at Contentfully._dereferenceLink (.../contentfully/dist/Contentfully.js:94:18)'
This is using the Delivery API, we haven't tested if the issue is the same in the preview API
Offending function:
contentfully/src/Contentfully.ts
Line 110 in e7f2cfd
Expected
Ideally, if a reference is unpublished, we shouldn't get an error. Only return references that are published and ignore unpublished references. As a content editor, if I leave something in draft mode, I wouldn't want to see it on my published page.
The text was updated successfully, but these errors were encountered: