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

Hidden forum causing invalidresponse error when whole forum grading

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.9.2
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
      None
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      If you have a forum with whole forum grading on, and you hide the forum after the students have responded, you cannot use the whole forum grading interface. 

      When you click Grade users, or click to the next user, you get a js invalidresponse error:

      error: true
      exception: {message: "Invalid response value detected", errorcode: "invalidresponse",…}
      backtrace: "* line 459 of /lib/externallib.php: invalid_response_exception thrown↵* line 267 of /lib/externallib.php: call to external_api::clean_returnvalue()↵* line 81 of /lib/ajax/service.php: call to external_api::call_external_function()↵"
      debuginfo: "discussions => Invalid response value detected: posts => Invalid response value detected: userposts => Invalid response value detected: timecreated => Invalid response value detected: Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type↵Error code: invalidresponse"
      errorcode: "invalidresponse"
      link: "https://moodle.oakland.edu/"
      message: "Invalid response value detected"
      moreinfourl: "http://docs.moodle.org/39/en_us/error/debug/invalidresponse"
      

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              emerrill Eric Merrill
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: