Moodle
  1. Moodle
  2. MDL-32507

Strict standard errors in scrom Module

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.3
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide

      with strict standards mode enabled, enter the SCORM and make sure the following Strict standard errors don't appear
      Strict Standards: Creating default object from empty value in /var/www/development/mod/scorm/datamodels/scormlib.php on line 93
      Strict Standards: Creating default object from empty value in /var/www/development/mod/scorm/datamodels/scormlib.php on line 116
      Strict Standards: Creating default object from empty value in /var/www/development/mod/scorm/locallib.php on line 538
      Strict Standards: Creating default object from empty value in /var/www/development/mod/scorm/player.php on line 167

      If any other strict standards errors appear please log them on MDL-32823 and I'll look at those later.

      Show
      with strict standards mode enabled, enter the SCORM and make sure the following Strict standard errors don't appear Strict Standards: Creating default object from empty value in /var/www/development/mod/scorm/datamodels/scormlib.php on line 93 Strict Standards: Creating default object from empty value in /var/www/development/mod/scorm/datamodels/scormlib.php on line 116 Strict Standards: Creating default object from empty value in /var/www/development/mod/scorm/locallib.php on line 538 Strict Standards: Creating default object from empty value in /var/www/development/mod/scorm/player.php on line 167 If any other strict standards errors appear please log them on MDL-32823 and I'll look at those later.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      master_MDL-32507
    • Rank:
      39399

      Description

      I encountered the following strict standard errors in the module while just playing around with the module:-

      • Strict Standards: Creating default object from empty value in /var/www/int/master/moodle/mod/scorm/locallib.php on line 538
      • Strict Standards: Creating default object from empty value in /var/www/int/master/moodle/mod/scorm/player.php on line 173

        Issue Links

          Activity

          Hide
          Ankit Agarwal added a comment -

          Hi Dan,
          Patch looks good.
          +1 to integrate.
          Thanks

          Show
          Ankit Agarwal added a comment - Hi Dan, Patch looks good. +1 to integrate. Thanks
          Hide
          Sam Hemelryk added a comment -

          Thanks Dan, this has been integrated now

          Show
          Sam Hemelryk added a comment - Thanks Dan, this has been integrated now
          Hide
          Sam Hemelryk added a comment -

          Tested and passed thanks Dan

          Show
          Sam Hemelryk added a comment - Tested and passed thanks Dan
          Hide
          Eloy Lafuente (stronk7) added a comment -

          This is now part of Moodle and a few millions people around the globe will be using it soon. Isn't that awesome?

          Many, many thanks and don't forget http://youtu.be/4N7dPaP5Z8U

          Closing, ciao

          Show
          Eloy Lafuente (stronk7) added a comment - This is now part of Moodle and a few millions people around the globe will be using it soon. Isn't that awesome? Many, many thanks and don't forget http://youtu.be/4N7dPaP5Z8U Closing, ciao

            People

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

              Dates

              • Created:
                Updated:
                Resolved: