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

Undefined property when adding a glossary entry

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.5.4, 2.6.1
    • 2.6
    • Glossary

      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.

            marina Marina Glancy
            dmonllao David Monllaó
            David Monllaó David Monllaó
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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