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

[Taskchain] : cannot access the Task scores, Question scores and Question responses screen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.4.5, 2.4.7, 2.5.3, 2.6
    • Fix Version/s: None
    • Component/s: Module: Taskchain
    • Labels:
      None
    • Plugin Version:
      2013121664
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE

      Description

      prerequisite :

      • a taskchain activity is created
      • some attempts are recorded

      steps to reproduce :

      • in the navigation menu, expand the 'Class reports' node of the taskchain activity
      • click on the 'Chain grades' link
      • in the table, click on the score of the column 'Attempt grade'
      • in the new table, click on the score of the column 'Score'
      • check in the breadcrumb that you are on the Taskscore screen
      • in the navigation menu, expand the 'Class reports' node of the taskchain activity, you should see Task scores, Question scores and Question responses options
      • click on one of these links

      What you should get :

      • the corresponding screen should be displayed

      What you get :

      • the following error message :

      Warning: Missing argument 1 for taskchain_report_table::header_grade(), called in /home/moodle/plugins/mod/taskchain/report/tablelib.php on line 228 and defined in /home/moodle/plugins/mod/taskchain/report/tablelib.php on line 506

      Warning: Missing argument 2 for taskchain_report_table::header_grade(), called in /home/moodle/plugins/mod/taskchain/report/tablelib.php on line 228 and defined in /home/moodle/plugins/mod/taskchain/report/tablelib.php on line 506

      Notice: Undefined variable: gradetype in /home/moodle/plugins/mod/taskchain/report/tablelib.php on line 507
      Coding error detected, it must be fixed by a programmer: Invalid string identifier. The identifier cannot be empty. Please fix your get_string() call.

      The debug trace information :

      Debug info:
      Error code: codingerror
      Stack trace:
      line 7387 of /lib/moodlelib.php: coding_exception thrown
      line 507 of /home/moodle/plugins/mod/taskchain/report/tablelib.php: call to get_string()
      line 228 of /home/moodle/plugins/mod/taskchain/report/tablelib.php: call to taskchain_report_table->header_grade()
      line 90 of /home/moodle/plugins/mod/taskchain/report/tablelib.php: call to taskchain_report_table->format_header()
      line 177 of /home/moodle/plugins/mod/taskchain/report/renderer.php: call to taskchain_report_table->setup_report_table()
      line 110 of /home/moodle/plugins/mod/taskchain/report/renderer.php: call to mod_taskchain_report_renderer->reportcontent()
      line 95 of /home/moodle/plugins/mod/taskchain/report.php: call to mod_taskchain_report_renderer->render_report()

        Attachments

          Activity

            People

            Assignee:
            xxxxxxx Gordon Bateson
            Reporter:
            evillard Eric Villard
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: