Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-31167 PHP strict META
  3. MDL-36737

Strict Standards for glossary deletion

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.4
    • Fix Version/s: 2.3.4, 2.4.1
    • Component/s: Glossary
    • Labels:

      Description

      Noticed this warning while testing MDL-35158.

      Strict Standards: Creating default object from empty value in /integration/23/blocks/glossary_random/block_glossary_random.php on line 140

      Steps to replicate:

      1. add a glossary activity (can be empty)
      2. add a Random Glossary block and configure it - just need to point it at the glossary you added and save
      3. delete the original Glossary
      4. Refresh the course page and notice the warning appears.
        Note: Refreshing the page again will removed the warning.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              rwijaya Rossiani Wijaya
              Integrator:
              Dan Poltawski
              Tester:
              Frédéric Massart
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Jan/13