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

Grade import produces a lot of php notices

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.0.2
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      I went into one of my courses, went to the gradebook and did a grade export. I created a second course and attempted to import the grades into that course. The following was output.

      Notice: Undefined property: stdClass::$mapping_1 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
      Call Stack

      1. Time Memory Function Location
        1 0.0010 338192 {main}( ) ../index.php:0

        ( ! ) Notice: Undefined property: stdClass::$mapping_2 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
        Call Stack
        # Time Memory Function Location
        1 0.0010 338192 {main}

        ( ) ../index.php:0

      ( ! ) Notice: Undefined property: stdClass::$mapping_3 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
      Call Stack

      1. Time Memory Function Location
        1 0.0010 338192 {main}( ) ../index.php:0

        ( ! ) Notice: Undefined property: stdClass::$mapping_4 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
        Call Stack
        # Time Memory Function Location
        1 0.0010 338192 {main}

        ( ) ../index.php:0

      ( ! ) Notice: Undefined property: stdClass::$mapping_5 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
      Call Stack

      1. Time Memory Function Location
        1 0.0010 338192 {main}( ) ../index.php:0

        ( ! ) Notice: Undefined property: stdClass::$mapping_6 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
        Call Stack
        # Time Memory Function Location
        1 0.0010 338192 {main}

        ( ) ../index.php:0

      ( ! ) Notice: Undefined property: stdClass::$mapping_7 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
      Call Stack

      1. Time Memory Function Location
        1 0.0010 338192 {main}( ) ../index.php:0

        ( ! ) Notice: Undefined property: stdClass::$mapping_8 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
        Call Stack
        # Time Memory Function Location
        1 0.0010 338192 {main}

        ( ) ../index.php:0

      ( ! ) Notice: Undefined property: stdClass::$mapping_9 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
      Call Stack

      1. Time Memory Function Location
        1 0.0010 338192 {main}( ) ../index.php:0

        ( ! ) Notice: Undefined property: stdClass::$mapping_10 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
        Call Stack
        # Time Memory Function Location
        1 0.0010 338192 {main}

        ( ) ../index.php:0

      ( ! ) Notice: Undefined property: stdClass::$mapping_11 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
      Call Stack

      1. Time Memory Function Location
        1 0.0010 338192 {main}( ) ../index.php:0

        ( ! ) Notice: Undefined property: stdClass::$mapping_12 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
        Call Stack
        # Time Memory Function Location
        1 0.0010 338192 {main}

        ( ) ../index.php:0

      ( ! ) Notice: Undefined property: stdClass::$mapping_13 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
      Call Stack

      1. Time Memory Function Location
        1 0.0010 338192 {main}( ) ../index.php:0

        ( ! ) Notice: Undefined property: stdClass::$mapping_14 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
        Call Stack
        # Time Memory Function Location
        1 0.0010 338192 {main}

        ( ) ../index.php:0

      ( ! ) Notice: Undefined property: stdClass::$mapping_15 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
      Call Stack

      1. Time Memory Function Location
        1 0.0010 338192 {main}( ) ../index.php:0

        ( ! ) Notice: Undefined property: stdClass::$mapping_16 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
        Call Stack
        # Time Memory Function Location
        1 0.0010 338192 {main}

        ( ) ../index.php:0

      ( ! ) Notice: Undefined property: stdClass::$mapping_17 in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 180
      Call Stack

      1. Time Memory Function Location
        1 0.0010 338192 {main}( ) ../index.php:0

        ( ! ) Notice: Undefined property: stdClass::$mapfrom in /home/andrew/Desktop/git/moodle_mygithub/grade/import/csv/index.php on line 184
        Call Stack
        # Time Memory Function Location
        1 0.0010 338192 {main}

        ( ) ../index.php:0

      user mapping error, could not find user!

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    21/Feb/11