Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5067

Entry state update fails with json error.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.3
    • 2.6.3
    • Set: Dataform
    • None
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE

    Description

      This is caused by an incorrect method call as part of the calculated grade support that has been added to the entry state field in 2.6.3.

      mod/dataform/field/entrystate/ajax.php, line 68

      $df->update_calculated_grade($entry->userid, "##\d*:$field->name##");

      is missing a character. The called method name should be 'update_calculated_grades' (plural grades):

      $df->update_calculated_grades($entry->userid, "##\d*:$field->name##");

      Attachments

        Activity

          People

            itamart Itamar Tzadok
            itamart Itamar Tzadok
            Itamar Tzadok Itamar Tzadok
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              12/May/14