Joomdle 1.0 Installation

Profile field Hika-Moodle sync

More
10 years 9 months ago #1 by tex71
Profile field Hika-Moodle sync was created by tex71
Hi,
all is ok in profile sync: I register in Hikashop form and Moodle has the field updated.
But If I enable access control for a section, for instance, the control failed.
If I go to profile page, all is ok, the field are updated but the access control failed (for example if a field has a specific value).
If I update profile inside moodle, It is enaught to clik on button, all came back regulare and the access controll to a reasource is ok.
What is the problem?
Thanks

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

More
10 years 9 months ago #2 by tex71
Replied by tex71 on topic Profile field Hika-Moodle sync
I tested with a new registration, and all is ok.
But if I choose an old user, and change a field mapped with moodle, then I clik Moodle sync, the field is updated in moodle but access control failed.
Thanks

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

More
10 years 9 months ago #3 by Antonio Durán
Replied by Antonio Durán on topic Profile field Hika-Moodle sync
Hi.

I don't know how your setup is. Can you explain how you are setting access control? I don't think I have tested thar before.

What I would do is check the database directly, to see the value stored when synced, and see if it is different from the one stored when saving from Moodle.

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

More
10 years 9 months ago #4 by tex71
Replied by tex71 on topic Profile field Hika-Moodle sync
I checked DB and there aren't difference betwee two updates.
But when I register like new user is ok, but when I try to sync with button in joomdle user not.
So there are difference between sync with Moodle using new registration form and enroll and butto in joomdle

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

More
10 years 9 months ago #5 by Antonio Durán
Replied by Antonio Durán on topic Profile field Hika-Moodle sync
Well, button in user list in Joomdle backend is only meant to be used for old users when you are setting up Joomdle.

If you change a value in Joomla profile, and the field is mapped to a moodle field, field should be updated in Moodle without using "sync moodle profiles" button.

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