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

Invalid usage of string placeholder in [cannotgetdsfordependent,core_question]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0
    • 2.0
    • Language, Questions
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      The string [cannotgetdsfordependent,core_question] uses a placeholder in a way that is no longer valid since 2.0:

      $string['cannotgetdsfordependent'] = 'Cannot get the specified dataset for a dataset dependent question! (question: {$a[0]}, datasetitem: {a[1]})';

      called from question/type/calculated/questiontype.php:

      print_error('cannotgetdsfordependent', 'question', '', array($question->id, $datasetitem));

            ppichet Pierre Pichet (Inactive)
            mudrd8mz David Mudrák (@mudrd8mz)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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