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

error in frompage with format FRONTPAGECOURSELIST when ((frontpagecourselimit > count(courses)) and user is admin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.7, 1.7.1, 1.7.2, 1.8, 1.8.1, 1.9.13, 2.0, 2.1, 2.2, 2.3, 2.4
    • Fix Version/s: 2.2.6, 2.3.3
    • Labels:
    • Environment:
      all OS
      all platform
    • Testing Instructions:
      Hide
      1. Login as site admin
      2. Ensure that Frontpage setting is set to Frontpage Course List (Site admin -> Front page -> Front page settings -> frontpageloggedin
      3. Ensure that there are more courses than FRONTPAGECOURSELIMIT constant (defined in course/lib.php, if you don't want to create 201 moodle courses edit the hardcoded value)
      4. Login in as an admin
      5. Go to the frontpage, you SHOULD observe that the site admin also can search for a course at the bottom of the page
      Show
      Login as site admin Ensure that Frontpage setting is set to Frontpage Course List (Site admin -> Front page -> Front page settings -> frontpageloggedin Ensure that there are more courses than FRONTPAGECOURSELIMIT constant (defined in course/lib.php, if you don't want to create 201 moodle courses edit the hardcoded value) Login in as an admin Go to the frontpage, you SHOULD observe that the site admin also can search for a course at the bottom of the page
    • Affected Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-10259_master

      Description

      If admin user is loggin in site, and frompage format is 'FRONTPAGECOURSELIST' , when frontpagecourselimit > count(courses_site) ==> don't display categories, courses,...

      Files affected: /index.php

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dmonllao David Monllaó
              Reporter:
              rafagv Rafa Gutierrez
              Peer reviewer:
              Frédéric Massart Frédéric Massart
              Integrator:
              Sam Hemelryk Sam Hemelryk
              Tester:
              Adrian Greeve Adrian Greeve
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Nov/12