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

Strict standards warning displayed when viewing a forum with a posting threshold.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.3.6, 2.4
    • 2.3.7, 2.4.4
    • Forum
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • MDL-39185_master
    • Hide
      1. Login as a teacher and create a forum with a time period for blocking set.
      2. Set a post threshold for blocking and for warning.
      3. Ensure the student role does not have capability "mod/forum:postwithoutthrottling" within the forum.
      4. Login as a student and click to view the forum.
      5. Ensure the following strict standards does not display.

      Strict Standards: Creating default object from empty value in /var/www/mstorage/sm/moodle/mod/forum/view.php on line 159

      Show
      Login as a teacher and create a forum with a time period for blocking set. Set a post threshold for blocking and for warning. Ensure the student role does not have capability "mod/forum:postwithoutthrottling" within the forum. Login as a student and click to view the forum. Ensure the following strict standards does not display. Strict Standards: Creating default object from empty value in /var/www/mstorage/sm/moodle/mod/forum/view.php on line 159

    Description

      A strict standards warning is displayed when debugging is turned on.

      Attachments

        Issue Links

          Activity

            People

              markn Mark Nelson
              markn Mark Nelson
              Ankit Agarwal Ankit Agarwal
              Sam Hemelryk Sam Hemelryk
              Frédéric Massart Frédéric Massart
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/May/13