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

Dates report not working with new conditional activity settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 2.7
    • Report: Edit dates
    • None
    • 2.2
    • MOODLE_27_STABLE

      With the new conditional activities feature in Moodle 2.7, the Edit dates report throws a bunch of errors and missing strings debugging statements.

      See:

      Invalid get_string() identifier: 'availablefrom' or component 'condition'. Perhaps you are missing $string['availablefrom'] = ''; in mod/condition/lang/en/condition.php?
      line 293 of /lib/classes/string_manager_standard.php: call to debugging()
      line 6940 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
      line 114 of /report/editdates/form.php: call to get_string()
      line 191 of /lib/formslib.php: call to report_editdates_form->definition()
      line 92 of /report/editdates/index.php: call to moodleform->moodleform()
      $section->availablefrom has been deprecated. This information is no longer available as the system provides more complex options (for example, there might be different dates for different users).
      line 2619 of /lib/modinfolib.php: call to debugging()
      line 2478 of /lib/modinfolib.php: call to section_info->get_availablefrom()
      line 115 of /report/editdates/form.php: call to section_info->__get()
      line 191 of /lib/formslib.php: call to report_editdates_form->definition()
      line 92 of /report/editdates/index.php: call to moodleform->moodleform()
      Help title string does not exist: [availablefrom, condition]
      line 461 of /lib/outputcomponents.php: call to debugging()
      line 2130 of /lib/outputrenderers.php: call to help_icon->diag_strings()
      line 1893 of /lib/formslib.php: call to core_renderer->help_icon()
      line 116 of /report/editdates/form.php: call to MoodleQuickForm->addHelpButton()
      line 191 of /lib/formslib.php: call to report_editdates_form->definition()
      line 92 of /report/editdates/index.php: call to moodleform->moodleform()
      Help contents string does not exist: [availablefrom_help, condition]
      line 464 of /lib/outputcomponents.php: call to debugging()
      line 2130 of /lib/outputrenderers.php: call to help_icon->diag_strings()
      line 1893 of /lib/formslib.php: call to core_renderer->help_icon()
      line 116 of /report/editdates/form.php: call to MoodleQuickForm->addHelpButton()
      line 191 of /lib/formslib.php: call to report_editdates_form->definition()
      line 92 of /report/editdates/index.php: call to moodleform->moodleform()
      

            timhunt Tim Hunt
            rex Rex Lorenzo
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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