Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor 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

          Activity

          Hide
          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 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
          Dan Poltawski added a comment -

          Integrated to master, 24 and 23. Thanks!

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

          Test result: Success!

          Tested in 2.3 and master.

          Show
          Michael de Raadt added a comment - Test result: Success! Tested in 2.3 and master.
          Hide
          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
          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: