Shop / e-Commerce Integration

Multiple Data Sources mapped to Moodle?

More
8 years 7 months ago #11 by ACM
Replied by ACM on topic Multiple Data Sources mapped to Moodle?
Antonio,

Ok, prior to running tests, I set the add'l data source to Hikashop and left it there for the entire session with mostly good results, but not all:

Any change to an EasyProfile field results in automatic change on the other side: Change in Joomla changes in Moodle...and vice versa: change in Moodle, changes in Joomla. Sync to Moodle button and Sync to Joomla buttons work as well in the admin area for the EasyProfile fields.

With Hikashop, we have issues:
The data sync only works one direction: Moodle -> Joomla. Any change by a user to his Hikashop profile/address fields DO NOT map the fields to Moodle. However, if I go the other way, changing the fields in Moode, then I get the changes automatically in Joomla/Hikashop. The Sync buttons also show this same result: Sync to Moodle...no change of the moodle fields; Sync to Joomla...yup, the edit in Moodle now show up in the Joomla/Hikashop.

I tried the Hikashop tests again with the Joomdle EasyProfile plugin disabled (Joomdleprofile - Joomdle Easyprofile profile). The results were the same with Hikashop syncing only one direction: Moodle --> Joomla.

Do you have any idea why Hikashop is misbehaving? I running all latest versions with no customizations other than the one you gave me for joomdleeasyprofile.php.

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

More
8 years 7 months ago #12 by Antonio Durán
Replied by Antonio Durán on topic Multiple Data Sources mapped to Moodle?
Hi.

> I tried the Hikashop tests again with the Joomdle EasyProfile plugin disabled

So, it seems like the Hikashop plugin is not working as expected for you in the normal configuration.

> Any change by a user to his Hikashop profile/address fields DO NOT map the fields to Moodle.

Do a test please: after changing data in Hikashop user, go to Joomla users in backend, and open and save the user. Then check Moodle to see if changes were passed.

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

More
8 years 7 months ago - 8 years 7 months ago #13 by ACM
Replied by ACM on topic Multiple Data Sources mapped to Moodle?

Antonio Durán wrote: Hi.
Do a test please: after changing data in Hikashop user, go to Joomla users in backend, and open and save the user. Then check Moodle to see if changes were passed.


I tried this once with the EasyProfile plugin enabled and once with it disabled.

In both cases, the changes were not passed to Moodle. (The Hikashop address fields were changed on the frontend of Joomla by the logged in user.)

I cranked up error reporting to Maximum and turned on Debug mode and ran again. No errors on the frontend, but I decided to edit a Hikashop address field in the backend, and got the attached errors come up in the popup window:



Same results, though, Hikashop updates on the Joomla side, but not in Moodle.
Last edit: 8 years 7 months ago by ACM.

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

More
8 years 7 months ago #14 by Antonio Durán
Replied by Antonio Durán on topic Multiple Data Sources mapped to Moodle?
Hi.

Thanks for the info: I fixed the warnings you show, although they are not related to profile sync not working: I just tested locally, before doing the changes, and sync worked just fine, when using only Hikashop plugin.

So, for some reason Hikashop sync is not working at your site, although it seems to be working in general (for me and other users). In fact, seeing the warnings, I see that the sync process is being called as expected.
Was it working before at your site?
At this point, only thing we could do is try debugging the problem live at your site. If you want us to try, please write to antonio@joomdle.com

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

More
8 years 4 months ago #15 by Antonio Durán
Replied by Antonio Durán on topic Multiple Data Sources mapped to Moodle?
For reference:
Joomdle 1.2 and new versions of Joomlde profile plugins now support using multiple data sources:
www.joomdle.com/wiki/Field_Data_Mapping#...3rd_party_extensions

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