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

moodle notices while browsing contents of a course on the moodle app (get_course_contents)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.3.6, 2.4.3, 2.5
    • Fix Version/s: 2.3.7, 2.4.4
    • Component/s: Course, Web Services
    • Labels:
    • Testing Instructions:
      Hide

      For course containing a empty section, call core_course_get_contents. No warnings should be displayed. (mandatory for 2.3)

      Alternative possible test (for 2.4 and 2.5 only):
      If you want don't write a client you can use the Moodle Mobile app. Enable mobile on moodle, download moodle mobile app, use it to go to see course content, it does a core_course_get_course_contents call. Check there is no warning in your log (the one mentioned in the issue description)

      Show
      For course containing a empty section, call core_course_get_contents. No warnings should be displayed. (mandatory for 2.3) Alternative possible test (for 2.4 and 2.5 only): If you want don't write a client you can use the Moodle Mobile app. Enable mobile on moodle, download moodle mobile app, use it to go to see course content, it does a core_course_get_course_contents call. Check there is no warning in your log (the one mentioned in the issue description)
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-30775-master

      Description

      [Fri Dec 16 14:56:52 2011] [error] [client 192.168.100.131] PHP Notice: Undefined index: 3 in /home/aparup/mcode/integration/course/externallib.php on line 118
      [Fri Dec 16 14:56:52 2011] [error] [client 192.168.100.131] PHP Warning: Invalid argument supplied for foreach() in /home/aparup/mcode/integration/course/externallib.php on line 118

        Attachments

          Activity

            People

            • Assignee:
              jerome Jérôme Mouneyrac
              Reporter:
              nebgor Aparup Banerjee
              Peer reviewer:
              Ankit Agarwal
              Integrator:
              Damyon Wiese
              Tester:
              Dan Poltawski
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Juan Leyva, Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/May/13