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

Undefined property when adding a glossary entry

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6
    • 2.5.4, 2.6.1
    • Glossary

    Description

      Problem detected by Dan, as there is a redirection is only visible when reading the web server logs, you can now reproduce it using behat with MDL-42733 integrated:

      (::) failed steps (::)
       
      01. PHP debug message/s found:
          
          Notice: Undefined property: stdClass::$aliases in /home/davidm/Desktop/moodlecode/INTEGRATION/master/mod/glossary/edit.php on line 94
          In step `When I add a glossary entry with the following data:'.                                # behat_mod_glossary::i_add_a_glossary_entry_with_the_following_data()
          From scenario `Printer-friendly glossary view disabled'.                                       # /home/davidm/Desktop/moodlecode/INTEGRATION/master/mod/glossary/tests/behat/print_friendly_version.feature:41
          Of feature `A teacher can choose whether to provide a printer-friendly glossary entries list'. # /home/davidm/Desktop/moodlecode/INTEGRATION/master/mod/glossary/tests/behat/print_friendly_version.feature
      

      Probably the problem is the same in 2.5.

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              dmonllao David Monllaó
              David Monllaó David Monllaó
              Dan Poltawski Dan Poltawski
              Dan Poltawski Dan Poltawski
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Jan/14