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
Project Config always creates a site with default name and handle. When renaming the default site's name and handle it saves to project.yaml, but when installing a new site with this file it still uses the default name and default handle, and saves that back to project.yaml
Steps to reproduce
Set up Craft and rename default site and its handle
Install new Craft with that project.yaml
See project.yaml changed to default site and handle again
Additional info
Craft version: 3.1.1
PHP version: 7.3.1
Database driver & version: PostgreSQL 10.6
Plugins & versions: N/A
The text was updated successfully, but these errors were encountered:
Yeah this is a little awkward because the installer lets you choose the site name, so we should be respecting that over whatever is in project.yaml I think. That said I suppose we can update the installer to set the default site name value to the value in project.yaml if that’s present. And we can leave the handle alone – that was never user-submitted anyway.
In Base URL’s case that might be a step in the wrong direction though, as the default value is based on the current request’s URL, which is more likely to be correct than whatever is in project.yaml.
Description
Project Config always creates a site with default name and handle. When renaming the default site's name and handle it saves to project.yaml, but when installing a new site with this file it still uses the default name and
default
handle, and saves that back to project.yamlSteps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: