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

ERROR: Incorrect number of query parameters. Expected 10, got 0. when entering assessment phase

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Workshop
    • Labels:
    • Testing Instructions:
      Hide

      Testing difficulty: trivial

      1. Create a workshop in 2.4dev and switch it into the Submission phase.
      2. Let a student submit their work.
      3. TEST: Make sure you can switch the workshop to the Assessment phase.

      Show
      Testing difficulty: trivial 1. Create a workshop in 2.4dev and switch it into the Submission phase. 2. Let a student submit their work. 3. TEST: Make sure you can switch the workshop to the Assessment phase.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-36086-workshop

      Description

      When proceeding to the Assessment phase I always get the error message ERROR: Incorrect number of query parameters. Expected 10, got 0. Where 10 is the number of users enrolled on the course (obviously this changes depending on how many users are enrolled in the course).

      I tested this in integration/MOODLE_23_STABLE and it doesn't happen there so it is a problem introduced in 2.4.

      To recreate:

      1. In integration/master (2.4) create a workshop.
      2. Fill in the default options and make any student submissions so that the workshop can proceed easily to the Assessment phase.
      3. Advance to the assessment phase.

      Expected result:

      • The workshop grades report appears.

      Actual result:

      • The error: "ERROR: Incorrect number of query parameters. Expected 10, got 0. when entering assessment phase", appears onscreen.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    3/Dec/12