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

Entry state update fails with json error.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.3
    • Fix Version/s: 2.6.3
    • Component/s: Set: Dataform
    • Labels:
      None
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      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

            • Assignee:
              itamart Itamar Tzadok
              Reporter:
              itamart Itamar Tzadok
              Tester:
              Itamar Tzadok
              Participants:
              Component watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/May/14