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

Unknown objecttable specified for the \mod_workshop\event\submission_reassessed event

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a course with at least two students.
      2. Create a workshop activity and complete the 'Setup phase'.
      3. Switch to the 'Submission phase'.
      4. Log in as two students and submit some work.
      5. On the 'Submission phase' allocate the students to review each others work.
      6. Switch to the 'Assessment phase'.
      7. As one of the students assess the others work and submit.
      8. Now re-assess the user's work and ensure when you submit there is no warning and it saves successfully.
      Show
      Create a course with at least two students. Create a workshop activity and complete the 'Setup phase'. Switch to the 'Submission phase'. Log in as two students and submit some work. On the 'Submission phase' allocate the students to review each others work. Switch to the 'Assessment phase'. As one of the students assess the others work and submit. Now re-assess the user's work and ensure when you submit there is no warning and it saves successfully.
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull Master Branch:
      MDL-45804_master

      Description

      When reassessing a workshop submission you are shown the following warning -

      Unknown table specified in objecttable field
      line 673 of /lib/classes/event/base.php: call to debugging()
      line 695 of /lib/classes/event/base.php: call to core\event\base->validate_before_trigger()
      line 208 of /mod/workshop/assessment.php: call to core\event\base->trigger()
      

      The objecttable specified is 'workshop_assessment' but should be 'workshop_assessments'.

        Attachments

          Activity

            People

            • Assignee:
              markn Mark Nelson
              Reporter:
              markn Mark Nelson
              Peer reviewer:
              Ankit Agarwal
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Frédéric Massart
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta, Ryan Wyllie, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Jul/14