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

Fix warning in Calendar month block after MDL-60587

XMLWordPrintable

    • Any
    • MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • mdl63321-master
    • Easy
    • Hide

      Note: Better test on Clean theme since the warning message gets covered by the nav header in Boost.

      1. Add the Calendar block as a site block showing on all pages.
      2. In Site Admin, click Courses then "Manage courses and categories"
      3. Confirm that you don't see a PHP Notice warning.
      Show
      Note: Better test on Clean theme since the warning message gets covered by the nav header in Boost. Add the Calendar block as a site block showing on all pages. In Site Admin, click Courses then "Manage courses and categories" Confirm that you don't see a PHP Notice warning.

      After MDL-60587 has been integrated, the category contextlevel is determined to true when managing courses but the categoryid isn't set so the warning is thrown.

       

      This item fixes the warning check for category id.

            tlock Tim Lock
            tlock Tim Lock
            Luca Bösch Luca Bösch
            Jun Pataleta Jun Pataleta
            Janelle Barcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 14 minutes
                14m

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