Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom user profile fields with same name as core fields cannot be selected correctly #169

Open
jtsafran opened this issue Feb 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@jtsafran
Copy link

jtsafran commented Feb 9, 2022

Moodle 3.10.9
tool_trigger: 2021030405

On the site this is being observed, there is a custom user profile field with a short name of "email". When you see that value in other places on the site (ldap config, saml2 config, etc), the name shows as field_map_profile_field_email vs the core email field of field_map_email.

In tool trigger, after doing a user lookup on a user created action and giving it a prefix of createduser_, you are given a list of fields that includes createduser_email twice and it seems like the action will use the core field.

Would it be possible to append the custom profile fields with profile_field_ or similar to match other Moodle functionality so both fields can be used?

@dmitriim dmitriim added the bug Something isn't working label Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants