Moodle

Errors restoring

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.4, 1.9.5
  • Fix Version/s: 1.9.6
  • Component/s: Backup
  • Labels:
    None
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

Restoring a course there are two possibilities:

  • From front page / site files Alli gives you the options:
    • Restore to
      • New course
      • current course, deleting first it
      • current course, adding data to it
    • Category: Not available
  • From the course
    • Restore to
      • New Course
      • Existing course, deleting first if
      • Existing course, adding data to it
    • Category:
      • All the categories.

If you choose 1 course from the option less any new course, you overwrite the main course! (SiteID).

has no logic that since the main course allows you to choose from current course and the course will indicate that there is ongoing

Also, you should choose to leave the category.

Therefore, options should be changed

  • From the homepage:
    • New course
    • Existing course, deleting first if
    • Existing course, adding data to it
  • From the course
    • new course
    • Current course or, if first deleting
    • Current course, adding data to it

(sorry for my english. I do not speak English very well)

Thanks.

Activity

Hide
Pedro Jiménez added a comment -

I think its resolved with MDL-19246 and MDL-15355

Show
Pedro Jiménez added a comment - I think its resolved with MDL-19246 and MDL-15355
Hide
Eloy Lafuente (stronk7) added a comment -

Hi Pedro,

that was fixed some weeks ago and current Moodle 1.9.5+ should work ok.

Feel free to reopen if you find more problems after upgrade. Gracias!

Show
Eloy Lafuente (stronk7) added a comment - Hi Pedro, that was fixed some weeks ago and current Moodle 1.9.5+ should work ok. Feel free to reopen if you find more problems after upgrade. Gracias!
Hide
Pedro Jiménez added a comment -

I tried the restore operation:

  • Category: Now it works
  • Restore to:
    • New course-> Ok
    • Current Course, deleting it first -> Always Creating blocks: Error while creating the course blocks "
    • Current course, adding data to it -> OK
    • Existing course, deleting it first -> Always Creating blocks: Error while creating the course blocks "
    • Existing course, adding data to it -> If you are deleted one xat, forum ... Restores all activities even if they exist in the existing course (does not check if these exist, are not duplicated)
Show
Pedro Jiménez added a comment - I tried the restore operation:
  • Category: Now it works
  • Restore to:
    • New course-> Ok
    • Current Course, deleting it first -> Always Creating blocks: Error while creating the course blocks "
    • Current course, adding data to it -> OK
    • Existing course, deleting it first -> Always Creating blocks: Error while creating the course blocks "
    • Existing course, adding data to it -> If you are deleted one xat, forum ... Restores all activities even if they exist in the existing course (does not check if these exist, are not duplicated)
Hide
Pedro Jiménez added a comment -

Sorry, don't read the last comment.

I tried the restore operation:

  • Category: Now it works
  • Restore to:
    • New course-> Ok
    • Current Course, deleting it first -> Always Creating blocks: Error while creating the course blocks "
    • Existing course, deleting it first -> Always Creating blocks: Error while creating the course blocks "
    • The existing course, adding data to it -> If you deleted a xat, forum ... in one course and then restore, restore all activities including those that have not been modified in the existing course (does not check if they exist, do exist are duplicates)
    • The existing course, adding data to it -> If you deleted a xat, forum ... in one course and then restore, restore all activities including those that have not been modified in the existing course (does not check if they exist, do exist are duplicates)
Show
Pedro Jiménez added a comment - Sorry, don't read the last comment. I tried the restore operation:
  • Category: Now it works
  • Restore to:
    • New course-> Ok
    • Current Course, deleting it first -> Always Creating blocks: Error while creating the course blocks "
    • Existing course, deleting it first -> Always Creating blocks: Error while creating the course blocks "
    • The existing course, adding data to it -> If you deleted a xat, forum ... in one course and then restore, restore all activities including those that have not been modified in the existing course (does not check if they exist, do exist are duplicates)
    • The existing course, adding data to it -> If you deleted a xat, forum ... in one course and then restore, restore all activities including those that have not been modified in the existing course (does not check if they exist, do exist are duplicates)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: