- Posts: 9
Changing the username in Joomla causes a duplicate in Moodle
- Rahul Paul
- Topic Author
- Offline
- New Member
-
Less
More
13 years 1 month ago #1
by Rahul Paul
Changing the username in Joomla causes a duplicate in Moodle was created by Rahul Paul
I am using Joomdle 0.82, Joomla 2.5.4 and Moodle 2.3.
If I change an existing user's username in Joomla's backend, a new user record is created in Moodle which is the exact duplicate of the original user record but with the changed username. I would have thought that the username for that user should change in Moodle as well but now I am getting 2 records for the same user with different usernames.
Is this expected behavior?
Thanks for your help.
If I change an existing user's username in Joomla's backend, a new user record is created in Moodle which is the exact duplicate of the original user record but with the changed username. I would have thought that the username for that user should change in Moodle as well but now I am getting 2 records for the same user with different usernames.
Is this expected behavior?
Thanks for your help.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7926
13 years 1 month ago #2
by Antonio Durán
Replied by Antonio Durán on topic Changing the username in Joomla causes a duplicate in Moodle
Yes, this is expected behaviour.
As Joomdle uses username to link users in Joomla and Moodle, changing the username looses that link, and so what you say will happen.
A way to be able to change usernames is:
- Change username in Moodle first (having sysnc users to joomla as Off in Joomdle config in Moodle)
- Change username in Joomla. As the new username is already present in Moodle, the accounts will be linked again.
As Joomdle uses username to link users in Joomla and Moodle, changing the username looses that link, and so what you say will happen.
A way to be able to change usernames is:
- Change username in Moodle first (having sysnc users to joomla as Off in Joomdle config in Moodle)
- Change username in Joomla. As the new username is already present in Moodle, the accounts will be linked again.
Please Log in or Create an account to join the conversation.
- Rahul Paul
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
13 years 1 month ago #3
by Rahul Paul
Replied by Rahul Paul on topic Changing the username in Joomla causes a duplicate in Moodle
Thanks for your prompt reply and a great extension.
Please Log in or Create an account to join the conversation.