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
I think this is a bug rather than a feature. Set the Name Format for Child to: title and then create a new page via the API with a title assigned, but no name.
$p = new Page();
$p->template = "basic-page";
$p->parent = $pages->get("/about/");
$p->title = "Test New Page";
$p->save();
The newly created page will be titled correctly, but will have "untitled" for the name. I would expect. Note that everything works as expected if you also don't set the title and set the status to the new temp option.
I think that if you create a page with a title, then the name should still be assigned as it normally is. Am I missing the reason for this current behavior?
The text was updated successfully, but these errors were encountered:
I think this is a bug rather than a feature. Set the Name Format for Child to: title and then create a new page via the API with a title assigned, but no name.
The newly created page will be titled correctly, but will have "untitled" for the name. I would expect. Note that everything works as expected if you also don't set the title and set the status to the new temp option.
I think that if you create a page with a title, then the name should still be assigned as it normally is. Am I missing the reason for this current behavior?
The text was updated successfully, but these errors were encountered: