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

"Found more than one record in fetch() !" on duplicating activity

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 2.1.1, 2.8.1, 3.8.3
    • None
    • Assignment, Feedback, Gradebook
    • CentOS release 5.6 (Final)
    • MySQL
    • MOODLE_21_STABLE, MOODLE_28_STABLE, MOODLE_38_STABLE
    • Hide

      Given a course with a user1 enrolled, and teacher1 and teacher2 enrolled, and an Feedback activity defined...

      1. Log in as admin
      2. Visit the course page
      3. Turn editing on
      4. Click the "x2" duplicate icon next to the Feedback activity
      5. At the "Are you sure..." page, Click "Continue"
      6. At the "duplicated successfully" page, click "Edit the new copy"
      7. On the "Updating Feedback" page, make no changes, but scroll to the bottom of the page and click "Save and return to course"
      8. Turn editing off
      9. Log out, log back in as an enrolled student, and try to access the course.

      Show
      Given a course with a user1 enrolled, and teacher1 and teacher2 enrolled, and an Feedback activity defined... 1. Log in as admin 2. Visit the course page 3. Turn editing on 4. Click the "x2" duplicate icon next to the Feedback activity 5. At the "Are you sure..." page, Click "Continue" 6. At the "duplicated successfully" page, click "Edit the new copy" 7. On the "Updating Feedback" page, make no changes, but scroll to the bottom of the page and click "Save and return to course" 8. Turn editing off 9. Log out, log back in as an enrolled student, and try to access the course.

    Description

      On (stupidly) duplicating a Feedback activity, clicking continue, and then immediately clicking Save and return to course, I got the "Found more than one record in fetch() !" page. Now I can't access the course (http://my.internalhost.net/moodle/course/view.php?id=2) as the teacher or student logins that were enrolled in the course.

      I tried resetting the course, but the error recurs.

      Enrolling as previously unenrolled students works fine.

      Any help on restoring this course for formerly enrolled logins appreciated.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tedo Ted Osborne
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              4 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: