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

Undefined variable in block_blog_recent in PHP 5.5

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.4.8, 2.5.4, 2.6.1
    • Component/s: Blocks
    • Labels:
      None

      Description

      One of my behat installations caught this error:

      (::) failed steps (::)
       
      01. PHP debug message/s found:
          
          Notice: Undefined property: stdClass::$text in /home/marina/repositories/pg27/moodle/blocks/blog_recent/block_blog_recent.php on line 125
          In step `And I add the "Recent blog entries" block'.        # behat_blocks::i_add_the_block()
          From scenario `Import course's contents to another course'. # /home/marina/repositories/pg27/moodle/backup/util/ui/tests/behat/import_course.feature:8
          Of feature `Import course's contents into another course'.  # /home/marina/repositories/pg27/moodle/backup/util/ui/tests/behat/import_course.feature
      

      I'm trying to find out now why it was only ONE of behat tests (and fix the actual bug)

        Attachments

          Activity

            People

            • Assignee:
              marina Marina Glancy
              Reporter:
              marina Marina Glancy
              Peer reviewer:
              Petr Skoda
              Integrator:
              Sam Hemelryk
              Tester:
              Jason Fowler
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

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