Skip to content

Bugfix/18780 project config sites and install command#18789

Merged
brandonkelly merged 6 commits into5.xfrom
bugfix/18780-project-config-sites-and-install-command
May 8, 2026
Merged

Bugfix/18780 project config sites and install command#18789
brandonkelly merged 6 commits into5.xfrom
bugfix/18780-project-config-sites-and-install-command

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented May 5, 2026

Description

When running the Install migration, ensure we get the site’s language without parsing the environment variable.

Also, ensure that the site’s name (when running the install migration and when saving via the control panel) is not parsed on save. This was happening because the trim validator gets the value via the getter method, and the default value for the $parse parameter in the site’s getName() is true.

Related issues

#18780

@i-just i-just requested a review from brandonkelly May 5, 2026 14:18
@craftcms craftcms deleted a comment from semanticdiff-com Bot May 8, 2026
@brandonkelly brandonkelly merged commit da7d897 into 5.x May 8, 2026
2 checks passed
@brandonkelly brandonkelly deleted the bugfix/18780-project-config-sites-and-install-command branch May 8, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants