mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-21 00:01:08 +00:00
* udm_user - fix alias-to-canonical param name mismatch The loop that maps UDM object properties to module params iterated over UDM keys (camelCase, e.g. displayName, primaryGroup) and looked them up directly in module.params, which is keyed by canonical names (snake_case, e.g. display_name, primary_group). This caused all aliased params to be silently ignored. Build an alias-to-canonical mapping from argument_spec and use it to resolve UDM keys to the correct module.params entries. Also fix the direct module.params["displayName"] access which raised KeyError when the user did not explicitly use the alias form. Fixes #2950 Fixes #3691 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Add changelog fragment for PR 11859 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>