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
Describe the bug
It appears that unpublished content isn't filtered from the query used by the DruxtEntity Stories, which means that if an unpublished item is returned but the DruxtClient doesn't have access to read the content that the DruxtEntity story doesn't have any UUID's available.
To Reproduce
Steps to reproduce the behavior:
Add two pieces of content, one published and one unpublished, both the same content type
Start Nuxt Storybook and navigate to the Story
No UUIDs available
Expected behavior
The query should filter out unpublished items, and also catch any errors and try to return valid data if available.
Media
response: {
statusText: 'Some resources have been omitted because of insufficient authorization.',
data: { errors: [Array] }
},
druxt: {
url: '/api/node/news?fields%5Bnode--news%5D=id%2Ctitle%2Cname%2Cinfo'
}
}
Your Environment (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
It appears that unpublished content isn't filtered from the query used by the DruxtEntity Stories, which means that if an unpublished item is returned but the DruxtClient doesn't have access to read the content that the DruxtEntity story doesn't have any UUID's available.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The query should filter out unpublished items, and also catch any errors and try to return valid data if available.
Media
Your Environment (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: