Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.3, 2.4
    • Fix Version/s: 2.3.4, 2.4.1
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a lesson
      2. Add a cluster with a multiple-choice question
      3. Preview and progress through lesson

      Make sure there is no strict standards error.

      Show
      Create a lesson Add a cluster with a multiple-choice question Preview and progress through lesson Make sure there is no strict standards error.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Replication steps:

      1. Create a lesson
      2. Add a cluster with a multiple-choice question
      3. Preview and progress through lesson

      The following warning is produced when submitting the result of the mcq

      Strict standards: Creating default object from empty value in /var/www/int/master/moodle/mod/lesson/view.php on line 341
       
      Call Stack: 0.0010 1020536 1. {main}() /var/www/int/master/moodle/mod/lesson/view.php:0 

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            ankit_frenz Ankit Agarwal added a comment -

            Hi Rosie,
            This looks good feel free to submit for integration.

            Although this can be ported to 22 imo, but not needed as we didnt have strict standards on 2.2

            Thanks

            Show
            ankit_frenz Ankit Agarwal added a comment - Hi Rosie, This looks good feel free to submit for integration. Although this can be ported to 22 imo, but not needed as we didnt have strict standards on 2.2 Thanks
            Hide
            poltawski Dan Poltawski added a comment -

            Integrated to master, 24 and 23. Thanks!

            Show
            poltawski Dan Poltawski added a comment - Integrated to master, 24 and 23. Thanks!
            Hide
            salvetore Michael de Raadt added a comment -

            Test result: Success!

            Tested in 2.3 and master.

            Show
            salvetore Michael de Raadt added a comment - Test result: Success! Tested in 2.3 and master.
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Many thanks for your effort, the whole Moodle Community will be enjoying your great solutions starting now!

            Closing, ciao

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Many thanks for your effort, the whole Moodle Community will be enjoying your great solutions starting now! Closing, ciao

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Jan/13