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

When searching for a course that does not exist a non-sensical string is displayed.

    XMLWordPrintable

Details

    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • MDL-46902_master
    • Hide
      1. Search for a course from the course management page that does not exist, eg. "NOWAYTHISCOURSEEXISTSIFITDOESWOWYOUCRAZY".

      On master

      1. Ensure you get the meaningful message "No courses were found with the words '<whateveryousearched>'".

      On 2.7 and 2.6

      1. Ensure you get the meaningful message "No courses".
      Show
      Search for a course from the course management page that does not exist, eg. "NOWAYTHISCOURSEEXISTSIFITDOESWOWYOUCRAZY". On master Ensure you get the meaningful message "No courses were found with the words '<whateveryousearched>'". On 2.7 and 2.6 Ensure you get the meaningful message "No courses".
    • 5

    Description

      1. Search for a course from the course management page that does not exist, eg. "NOWAYTHISCOURSEEXISTSIFITDOESWOWYOUCRAZY".
      2. You will get the strange string "Showing courses -19 to 0 of 0 courses" due to Moodle performing arithmetic with the value of 0 (($page * $perpage) + 1).

      Attachments

        Issue Links

          Activity

            People

              markn Mark Nelson
              markn Mark Nelson
              Ankit Agarwal Ankit Agarwal
              Damyon Wiese Damyon Wiese
              Andrew Lyons Andrew Lyons
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                8/Sep/14