Cannot save changes to LDAP user profiles after upgrade to 3.6

Cannot save changes to LDAP user profiles after upgrade to 3.6

by Blair F. -
Number of replies: 6
Picture of Particularly helpful Moodlers

We use some custom "Other fields" in our user profiles. Since upgrading from 3.4 to 3.6, last week, we can no longer make any changes, including the other fields, in the LDAP accounts. When trying to save, the username field shows "Required," even though it's clearly sitting right there.  


I've tried temporarily changing the account to manual, saving it, then making my changes and saving them, then changing back to LDAP. Problem is I can't complete that last step, as it won't allow me.

Average of ratings: -
In reply to Blair F.

Re: Cannot save changes to LDAP user profiles after upgrade to 3.6

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Hello,

What you describe sounds like MDL-66071. Feel free to vote to indicate you'd like the issue to be fixed or comment if you can provide further info.

Average of ratings: Useful (1)
In reply to Helen Foster

Re: Cannot save changes to LDAP user profiles after upgrade to 3.6

by Blair F. -
Picture of Particularly helpful Moodlers

Thank you, Helen! I've voted for it!

In reply to Blair F.

Re: Cannot save changes to LDAP user profiles after upgrade to 3.6 [Solved]

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators

Thanks Blair for voting.

Just noting that MDL-66071 has been fixed in Moodle 3.6.6 and 3.7.2. smile

Average of ratings: Useful (1)
In reply to Helen Foster

Re: Cannot save changes to LDAP user profiles after upgrade to 3.6 [Solved]

by Blair F. -
Picture of Particularly helpful Moodlers
Thanks, Helen!
In reply to Blair F.

Re: Cannot save changes to LDAP user profiles after upgrade to 3.6

by C Behan -
Hi Blair,

Here's a workaround while the bug is being fixed:
  1. Right-click on the username field and choose to 'inspect element' (or the equivalent in non-Chrome browsers)
  2. You will see an attribute [disabled="disabled"](see screenshot).
  3. Delete this (disabled="disabled") in your developer tool.

You will be able to save your change now.


Alternatively update your users by CSV upload.

Attachment disabled.jpg
Average of ratings: Useful (2)
In reply to C Behan

Re: Cannot save changes to LDAP user profiles after upgrade to 3.6

by Blair F. -
Picture of Particularly helpful Moodlers
Thank you, C Behan! That worked! You're awesome. I LOVE the Moodle community! smile