Whenever I create a document through the page-tree in sanity studio, using the button marked A in the screenshot, the document gets published instantly, even if some of the validation rules have failed.
If I use the regular document create button in the top left, marked B, then this behaviour does not occur.
Why is this an issue?
If documents are published instantly, they are published in a state that does not adhere to the requirements specified in the schema, leading to sort of "ghost" documents that are also not visible in studio because they do not adhere to the schema.
Whenever I create a document through the page-tree in sanity studio, using the button marked A in the screenshot, the document gets published instantly, even if some of the validation rules have failed.
If I use the regular document create button in the top left, marked B, then this behaviour does not occur.
Why is this an issue?
If documents are published instantly, they are published in a state that does not adhere to the requirements specified in the schema, leading to sort of "ghost" documents that are also not visible in studio because they do not adhere to the schema.