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

New version of Dates Report has unnecessary dependency on Moodle 2.5 forms functionality

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 2.4.7
    • Report: Edit dates

      As reported on https://moodle.org/plugins/view.php?plugin=report_editdates version 2013081300 fails on Moodle 2.4 (all versions) with the following message: Fatal error: Call to undefined method MoodleQuickForm::setExpanded() in ..\report\editdates\form.php on line 66. I think setExpanded originated with MDL-30637 and was new to 2.5. Wrapping the two calls to setExpanded in a method_exists check resolves that error and the report appears to work fine otherwise.

            timhunt Tim Hunt
            cfulton Charles Fulton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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