Merge user accounts admin tool

Re: Merge user accounts admin tool

by Melanie Scott -
Number of replies: 1
Picture of Particularly helpful Moodlers

I've noticed that sometimes the merge doesn't take non-core activities across completely to the expected account. Specifically face to face plugin data. Like @Shirley, I don't have any specific details..not because I stopped using it but because it stopped working. I think it has something to do with my specific install. This is what happens when I click the button to search and merge. The issue it says is not consistent with what we use or our settings.


Average of ratings: Useful (2)
In reply to Melanie Scott

Re: Merge user accounts admin tool

by Jordi Pujol-Ahulló -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Hi Melanie,

Yes, that kind of warnings are related to your install. It's like your database is properly setup using utf8mb4, but your PHP environment is not. I suggest you to report this kind of errors on a general forum asking for help.

Regarding to non-core plugins: it's usual that non-core plugins are not processed at all or only partially. And this is natural. Let me explain: mergeusers plugin tries to identify fields related to user's id and then merge. If mergeusers plugin does not identify fields related to user's id, it makes nothing. I have non-core plugins installed on our production instance and we had to follow the instructions "Create or edit the file config/config.local.php" where we add some lines like https://github.com/ndunand/moodle-tool_mergeusers/blob/master/config/config.php#L56-L60 or https://github.com/ndunand/moodle-tool_mergeusers/blob/master/config/config.php#L147-L154.

You can see some examples of our suggestions for another kind of non-core plugins: https://github.com/ndunand/moodle-tool_mergeusers/issues/228#issuecomment-1353674405

If you want some help about merging face-to-face, please create an issue over here https://github.com/ndunand/moodle-tool_mergeusers/issues/new and type the specific name of the plugin and any other detail you can pass, like Moodle version and plugin version in use.

Thanks,

Jordi
Average of ratings: Useful (2)