Feature Requests

Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.

[Closed] User Sync

More
9 years 6 months ago #11 by Antonio Durán
Replied by Antonio Durán on topic User Sync
You also need to upgrade Joomdle user check plugin.

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #12 by Eric vanBok
Replied by Eric vanBok on topic User Sync
I just downloaded and upgraded the Joomdle User Check plugin. I then proceeded to try changing a username to test it out. After a long delay I got this error:
Code:
XML-RPC Error (23000021): Access control exception | ERRORCODE: accessexception
I checked both Joomla and Moodle and the username change didn't happen in either system. I ran a system check and all is green checkmarks.

Am I doing something else wrong?

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #13 by Antonio Durán
Replied by Antonio Durán on topic User Sync
Not that I can think of...no idea why that error is shown.

That said, it seems the plugin is not working fine for "real" username changing. I guess I was only thinking about changing usernames to make them lowercase when I made these changes, so it is not really working when you do a real username change.
I will work on it more soon, and get back to you.
In the meantime, if you need to change a username, you can temporary disable user check plugin.

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #14 by Eric vanBok
Replied by Eric vanBok on topic User Sync
Thank you for the help with this. I really appreciate it.

Please Log in or Create an account to join the conversation.

  • Web Buster UK Ltd
  • Offline
  • Elite Member
  • Elite Member
More
9 years 6 months ago #15 by Web Buster UK Ltd
Replied by Web Buster UK Ltd on topic User Sync

Antonio Durán wrote: Not that I can think of...no idea why that error is shown.

That said, it seems the plugin is not working fine for "real" username changing. I guess I was only thinking about changing usernames to make them lowercase when I made these changes, so it is not really working when you do a real username change.
I will work on it more soon, and get back to you.
In the meantime, if you need to change a username, you can temporary disable user check plugin.

It seems that when we change a username in Joomla/Moodle, the change is not transferred across to the other resulting in error in sync-ing user profiles. Tried changing the username back and the error states "username already exists". Is it possible to re-link the joomla and moodle user profiles?

We ended up just deleting one of the user profile on one system (either Joomla or Moodle) and re-transfer it across to the other.

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #16 by Antonio Durán
Replied by Antonio Durán on topic User Sync
Hi.

I will keep working on this to try to make it work correctly.
In the meantime, if you need to change usernames, you can do it:
- By disabling userhook plugin in Joomla for a moment, and user sync to Joomla in Moodle config too, and doing the changes.
- Or doing username changes directly in both Joomla and Moodle databases

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #17 by Antonio Durán
Replied by Antonio Durán on topic User Sync
Hi again.

> It seems that when we change a username in Joomla/Moodle, the change is not transferred across to the other resulting in error in sync-ing user profiles

This seems to be working fine for me. Are you running Joomdle 1.0.8 on both Joomla and Moodle?

Eric: can you test changing username again? I am testing with plugin enabled and it seems to be working fine for me.

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #18 by Eric vanBok
Replied by Eric vanBok on topic User Sync
I have 1.0.8 on both Joomla and Moodle. I get all green check marks in the Joomdle System Check. I have the latest version of the Joomdle User Check plugin installed. When I try to change a password in the Joomla User Manager I get the following error:
Code:
XML-RPC Error (23000021): Access control exception | ERRORCODE: accessexception

I am running EasyProfile as well. Would that make a difference?

Let me know what other information you might want or what else you would like to try. I am more than willing to help in any way needed.

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #19 by Antonio Durán
Replied by Antonio Durán on topic User Sync
Thanks. Does the error show any more info if you enable debugging on Moodle?

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #20 by Eric vanBok
Replied by Eric vanBok on topic User Sync
Just turned on debugging and tried again. I immediately saw the issue. There were new functions that I had not added to the functions list for the Joomdle external service within Moodle. I added those and it works perfectly now.

Thanks for the help, and sorry for any extra work I caused.

Please Log in or Create an account to join the conversation.