Do not use constant AUN_CASE_LEAVE_ASIS in auto_username.settings.yml

Created on 22 December 2023, over 1 year ago

Problem/Motivation

auto_username.settings contains the line: aun_case: AUN_CASE_LEAVE_ASIS. AUN_CASE_LEAVE_ASIS is a constant in PHP, but it will be seen as a string in YML files. This means that on install, neither value for the "Character case" radio buttons is chosen. It is supposed to default to the first item.

Steps to reproduce

View admin/config/people/accounts/patterns after install. Export config and see that aun_case is replaced with 0.

Proposed resolution

Use 0 instead of AUN_CASE_LEAVE_ASIS in auto_username.settings.

Remaining tasks

Implement.

User interface changes

None.

API changes

None.

Data model changes

None.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada Liam Morland Ontario, CA 🇨🇦

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024