sanity-io / sanity

Sanity Studio – Rapidly configure content workspaces powered by structured content
https://www.sanity.io
MIT License
5.25k stars 426 forks source link

Documents are appearing in Gatsby / Gatsby's GraphQL browser / the Vision tool / CLI, but missing in Studio #6974

Closed pierrenel closed 4 months ago

pierrenel commented 4 months ago

If you find a security vulnerability, do NOT open an issue. Email security@sanity.io instead.

Describe the bug

For some bizarre reason, some documents are missing in Sanity Studio - I have a few types set up, for example "menu" and "artists" - I can see the menu document via the GraphQL api, but it's missing in the Studio. Also, for the Artists - test is missing - here's the query:

https://acoz71qp.api.sanity.io/v2022-03-07/data/query/production?query=*[_type+%3D%3D+"artist"].surname

To Reproduce

Steps to reproduce the behavior:

I could give you access to my Sanity studio?

Expected behavior

Expect to see all documents of a certain type - I used the Studio to create the docs initially, so they were visible at some point. Now some are missing even though they exist.

Screenshots

image

Which versions of Sanity are you using?

❯ sanity versions
@sanity/cli (global)             3.46.1 (up to date)
@sanity/color-input               3.1.1 (up to date)
@sanity/dashboard                 3.1.6 (up to date)
@sanity/eslint-config-studio      4.0.0 (up to date)
@sanity/orderable-document-list   1.2.1 (up to date)
@sanity/vision                   3.46.1 (up to date)
sanity                           3.46.1 (up to date)

What operating system are you using?

Macos Sonoma

Which versions of Node.js / npm are you running?

❯ npm -v && node -v
10.7.0
v18.20.3
binoy14 commented 4 months ago

Hi @pierrenel do you have any filters in the structure tool? That could be one reason that could be causing this

pierrenel commented 4 months ago

@binoy14 turns out I'm a silly sausage. Thanks for the help!

github-actions[bot] commented 1 month ago

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.