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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.1.1, 2.8.1, 3.8.3
    • 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.

      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.

            Votes:
            8 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:

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