Moodle
  1. Moodle
  2. MDL-7325

Popup window options not being saved in the database

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.3
    • Fix Version/s: 1.6.4, 1.7
    • Component/s: SCORM
    • Labels:
      None
    • Environment:
      Windows server with Apache 2.059 Server software
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_16_STABLE
    • Fixed Branches:
      MOODLE_16_STABLE, MOODLE_17_STABLE
    • Rank:
      27828

      Description

      Adding a SCORM course with a new window shows the first two options preselected. When any of the options are reset it does not save the updates to the mdl_scorm table. I was able to manually add the options in the table and it worked when I ran the course. However if I updated the SCORM activity I lost the options that I set manually and I had to go back to mySQL 5.12 table and add them manually.

        Activity

        Hide
        Martin Dougiamas added a comment -

        Assigning to Sadiel for prioritising and fixing.

        Show
        Martin Dougiamas added a comment - Assigning to Sadiel for prioritising and fixing.
        Hide
        Martin Dougiamas added a comment -

        Assigning to Jesús Rincón to organise and start working on.

        Show
        Martin Dougiamas added a comment - Assigning to Jesús Rincón to organise and start working on.
        Hide
        Jesús Rincón added a comment -

        Fixed problem with the popup window options. Now, they are saved when you update an SCORM activity and you change those options. It was necessary to add the line :

        require_once($CFG->dirroot.'/mod/scorm/locallib.php');

        before the definition of the function scorm_add_instance($scorm).

        Show
        Jesús Rincón added a comment - Fixed problem with the popup window options. Now, they are saved when you update an SCORM activity and you change those options. It was necessary to add the line : require_once($CFG->dirroot.'/mod/scorm/locallib.php'); before the definition of the function scorm_add_instance($scorm).

          People

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

            Dates

            • Created:
              Updated:
              Resolved: