Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29626

Course Restore does not keep URLs in resources when URLs are Moodle courses in the same installation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.15
    • 1.9.13
    • Backup
    • MySQL
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Hide

      None to my knowledge, except manually re-assigning links.

      Show
      None to my knowledge, except manually re-assigning links.
    • Hide

      1) Create one 1.9 site with 2 courses, A and B
      2) In course B create one resource (web page), with 2 links, one pointing to course A main page and another pointing to course B main page.
      3) Backup course B
      4) Restore the backup into new course (let's call it C).
      5) TEST: The original link to course A is unmodified and continues pointing to course A.
      6) TEST: The original link to course B has been modified and now points to course C.

      Show
      1) Create one 1.9 site with 2 courses, A and B 2) In course B create one resource (web page), with 2 links, one pointing to course A main page and another pointing to course B main page. 3) Backup course B 4) Restore the backup into new course (let's call it C). 5) TEST: The original link to course A is unmodified and continues pointing to course A. 6) TEST: The original link to course B has been modified and now points to course C.

      Affect version: Moodle 1.9.13+ (Build: 20110928)

      To reproduce:
      1. create a Moodle course "A"
      2. create a couple of meta courses "M1" and "M2" and enroll course "A" in the two meta courses
      3. now in course "A", add two resources "Link to file or web site", pointing to the Moodle URLs of the two courses "M1" and "M2". (for example, http://www.yourdomain.tld/course/view.php?id=XX)
      4. verify you can access the correct link (ak, course M1 and M2) using the resources
      5. now backup and restore the course "A" in a new course "B", in the same site.
      6. in the newly created course "B", check the resources pointing to the course M1 and M2: resource links are now broken and points to the home page of course "B".

      This issue may be related to MDL-26831

            stronk7 Eloy Lafuente (stronk7)
            andreabix Andrea Bicciolo
            Sam Hemelryk Sam Hemelryk
            Ankit Agarwal Ankit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.