moodle-tool_mergeusers
moodle-tool_mergeusers copied to clipboard
"How to resolve quiz attempts" description is wrong?
For How to resolve quiz attempts (quizattemptsaction) the description says:
When merging quiz attempts there may exist three cases: ⋮ 3. Both users have attempts for the same quiz. You have to choose what to do in this case of conflict. . You are required to choose one of the following actions:
- Merge attempts from both users and renumber. Attempts from the old user are merged with the ones of the new user and renumbered by the time they were started.
From my testing one must also select Merge attempts from both users and renumber in order to merge attempts when both users have attempts for different quizzes.
Shouldn't "same" be removed from language string quizattemptsaction_desc?
README.md covers this setting but says "This plugin provies you several options when merging quiz attempts from two users…". It does not specify the same quiz.
Hi @leonstr ,
Nice feedback.
Currently, the full setting text is as follows:
The idea for the whole text is referred to a every single quiz: if only one user, for a given quiz, have attemps, there is not practically any problem. The problem appears when both users have attempts for the same quiz.
Maybe the old user has attempts on a quiz 1, the new user has attempts on quiz 2, and both users have attempts for quiz 3. For quizzes 1 and 2, there is no problem. For quiz 3, admin should decide what to do, since this is a problematic situation. All quizzes attempts would be merged. All. But how do you want as admin to process conflicting cases?
I think that the rewording of this text should focus the problem "per quiz", meaning that all quizzes will be addressed.
Thanks for contacting.
What do you think.
Thank you for your response and for this excellent plugin.
"The problem appears when both users have attempts for the same quiz" – except that one must also know to select Merge attempts from both users and renumber when the users have attempted different quizzes. When I tested this if user-A has attempted quiz 1 and user-B has attempted quiz 2, and I merge (remove user-A, keep user-B) I now expect user-B to have attempts for both quiz 1 and quiz 2. But this does not happen with the default option Do nothing: do not merge nor delete, I must select Merge attempts from both users and renumber.
"For quizzes 1 and 2, there is no problem." – Having read the description I expected this setting only to be needed where user-A and user-B have attempted the same quiz.
I am using Moodle 3.9.18 (build: 20221114)
Please let me know if I can provide additional information.