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

Notice when adding id numbers to calculation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 2.3.8, 2.4.5
    • 2.3.2, 2.3.6
    • Gradebook
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • Hide

      Youll need a course with at least one existing grade item in it.

      Go to the gradebook to the categories and items screen. Add a new grade item (theres a button beneath the categories and items table).

      Once its created click the calculator icon in the new grade item's row.

      In the ID Numbers section enter some names for the existing grade items. For example, firstitem and otherassignment. Check that they save without error.

      Enter a formula using the ID numbers. for example =[[firstitem]]+[[otherassignment]]

      Check that it saves without error. It will complain about an invalid formula if it's not correct.

      Show
      Youll need a course with at least one existing grade item in it. Go to the gradebook to the categories and items screen. Add a new grade item (theres a button beneath the categories and items table). Once its created click the calculator icon in the new grade item's row. In the ID Numbers section enter some names for the existing grade items. For example, firstitem and otherassignment. Check that they save without error. Enter a formula using the ID numbers. for example =[ [firstitem] ]+[ [otherassignment] ] Check that it saves without error. It will complain about an invalid formula if it's not correct.

      When adding ID numbers to calculation, it throws a notice in developer mode.

      Invalid array parameter detected in required_param(): idnumbers
      line 605 of /lib/moodlelib.php: call to debugging()
      line 33 of /grade/edit/tree/calculation.php: call to optional_param()

            andyjdavis Andrew Davis
            t6nis20 Tõnis Tartes
            Adrian Greeve Adrian Greeve
            Dan Poltawski Dan Poltawski
            Rajesh Taneja Rajesh Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.