-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Myddleware not recognizing duplicate user #1107
Comments
Hi @mjm2230 , |
Hi @Myddleware ! Here is the information tab: |
Hi @mjm2230 , Could you make sure the data in username (target values) exists in Moodle. Here is what we have tested and the username sfaure110 has been found in Moodle so the document is set from type C (CREATE) to type U (UPDATE) : Please if it still doesn't work. Vould you send us a screenshot of you document and the corresponding user in Moodle ? Thanks. Even if you find a solution with the username, we have a bug which is already fixed but not deploy yet. In case a record is found after duplicate search, the document is set to UPDATE and will be send event if the rule has the mode CREATE ONLY. We will deploy the fix in the next version but you can change manually the code of documentManager.php using this commit if you want : |
Hi @Myddleware, Thanks for exploring this for me! It seems like the data exactly matches the existing Moodle user. Here is an example: Do you think that if I manually change the code as you suggest that will fix this issue? |
Hi @mjm2230, If you change manually the code, it won't fix the issue on the username detection. The fix will just cancel the document if a username if found (document type is then set to U (UPDATE)) and if the rule type is CREATE ONLY. |
Hi @Myddleware ! Darn -- nope, the issue replicates with all existing usernames, even ones with no special characters: |
Thanks @mjm2230 , We can't reproduce the issue. Could you give me your version of Myddleware (you can see it in the footer) ? |
@Myddleware Thanks for trying. We're using 3.3.4a |
Hi @mjm2230, Are you developer ? If yes, I could give you some tips to debug this issue. Otherwise we could debug it for you but this is a "not free" support service. |
Hi @Myddleware, I am not a developer. I'd be happy for you to debug it for "not free" :) Let me know how we can arrange that!! |
Hi @mjm2230 , |
@Myddleware Emailing you now! |
Hi,
I have a rule that maps a custom Salesforce object to Moodle users. The rule works great to create new users. However, it does not recognize users that already exist. I have username selected as my de-duplication field, yet existing users are not getting skipped (this is a create rule, not create and update) as I would expect and have seen before when using Myddlware. They're throwing an invalid parameter error (see below).
Is this expected behavior?
The text was updated successfully, but these errors were encountered: