Bug Description
When you add a nav item with "Link to URL" and leave the title blank, the query will fail with an internal server error:
Cannot return null for non-nullable field "Page.title".
query:
queryNav {
nav(handle: "main") {
tree {
page {
titleurl
}
}
}
}Expected Behaviour
the title field should be populated with the url, like the description says in the screenshot
Extra Detail
screenshot
Environment
Statamic 3.1.16 Pro
Laravel 8.40.0
PHP 7.3.27
Bug Description
When you add a nav item with "Link to URL" and leave the title blank, the query will fail with an internal server error:
query:
Expected Behaviour
the title field should be populated with the url, like the description says in the screenshot
Extra Detail
screenshot
Environment
Statamic 3.1.16 Pro
Laravel 8.40.0
PHP 7.3.27