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

PHP 8.0: Glossary default category is wrong when viewing entries

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.11, 4.0
    • 3.11
    • Glossary

    Description

      Discovered in behat tests

      The same issue as MDL-71394 and MDL-70966

      During string comparison empty string is not the same as 0

      --- Failed steps:
       
      001 Scenario: Glossary entries can be organised in categories and categories can be autolinked # /var/www/html/mod/glossary/tests/behat/categories.feature:8
            And I should see "EntryNoCategory"                                                       # /var/www/html/mod/glossary/tests/behat/categories.feature:89
              "EntryNoCategory" text was not found in the page (Behat\Mink\Exception\ExpectationException)
       
      1 scenario (1 failed)
      

      Attachments

        Activity

          People

            marina Marina Glancy
            marina Marina Glancy
            Paul Holden Paul Holden
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            CiBoT CiBoT
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              17/May/21

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 25 minutes
                1h 25m