-
Improvement
-
Resolution: Deferred
-
Minor
-
None
-
3.6
-
None
-
MOODLE_36_STABLE
A common problem encountered when restoring courses with user data from different sites is a conflict in the credentials of the "admin" user between the two sites. The error commonly presents as:
"Trying to restore user admin from backup file will cause conflict"
There is no obvious action to take on this page other than "cancel." The options to reassign the other role names are distracting, as generally there is nothing wrong with the current role assignments and the problem lies elsewhere.
The workaround is provided here:
This involves a change to the admin setting "Allow admin conflict resolution". However, if a restore has already been started, switching to another browser window and making this adjustment will not allow the restore to proceed. Clicking "cancel" to restart the restore process leaves unusable "restore in progress" courses on the site. (see MDL-30177).
It would be more usable to allow the user (if they have appropriate permissions) to adjust the "Allow admin conflict resolution" setting and continue the restore. Alternatively, a user might be able to enable conflict resolution for this restore task only. At minimum, a more helpful error message should be provided, e.g.
'Trying to restore user admin from backup file will cause conflict, because the account details differ between the source site where the backup was made and the current site. Change the account details so both sites match, or enable "Allow admin conflict resolution" in the site administration settings.'
- has a non-specific relationship to
-
MDL-30177 Analyze the exact moment when new course is created in restore process, so that it can be deleted when required.
-
- Closed
-