-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.1.4, 2.2.3, 2.3, 2.3.4, 2.4.1
-
Component/s: Backup
-
Environment:Centos 5.x x86_64, php 5.3.x, apache 2.2, postgresql 8.4
-
Database:PostgreSQL
-
Testing Instructions:
-
Workaround:
-
Affected Branches:MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
Fixed Branches:MOODLE_23_STABLE, MOODLE_24_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-31484_anonymous_user_clash -
Pull Master Diff URL:
Probably related to the suggestions made for (MDL-22158).
Replication steps:
- Go to a course
- backup -> Tick Anonymise User Information -> Create Course Backup
- restore backup to new course -> this works
- restore same backup file to another new course ->
In step "6. Process" a bunch of error messages
"Trying to restore user 'anon1' from backup file will cause conflict" appears.
Due to this error messages, it seems that step 6 can not be finished, as there is only a Cancel button but no Next button. The second course does not appear to be created
What does not work
-----------------------------------------------------------
Restoring an anonymised course backup file for the first time into a new course creates a bunch of pseudo-users. Trying to restore the same backup file the second time yields a list of errors
"Trying to restore user 'anon1' from backup file will cause conflict" ... (and so on) at step 6 Processing (see attached screenshot for instance).
Expected behaviour
-----------------------------------------------------------
Iterated restores from the same anonymised course backup are expected to work. Further improvements to the way user data are anonymised would of course still be nice to have