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

SCORM API Debugging: appending 'API logging is on|off', once per activity launch

    Details

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

      (Difficulty: easy, requires both (server) administrator access, to cleanup JS caching, and teacher access to a course)

      1. Apply the patch and cleanup the JS cache in the dataroot e.g. rm /path/to/moodle-master-data/cache/js/*
      2. Open a browser and cleanup its cache
      3. Log as Administrator and activate SCORM API Debugging
      4. Log into a Course, e.g. a Topics one, and Turn Editing on.
      5. Create a new SCORM activity using the Prodding SCO (© 2007 Claude Ostyn), SCORM 1.2, e.g. DnD the file into a Topic.
      6. Click on this new SCORM activity and attend to it: a new popup|tab will be opened too (the SCORM API Activity Log)
      7. The item will be launched: the Prodding SCO will appear
      8. Click on the link to "SCORM Diagnostic SCO" in the TOC to reload the SCO in the main window
      9. make sure the link "API logging is on" is only displayed once
      10. Click on the link to "SCORM Diagnostic SCO" again in the TOC to reload the SCO in the main window
      11. make sure the link "API logging is on" is only displayed once
      Show
      (Difficulty: easy, requires both (server) administrator access, to cleanup JS caching, and teacher access to a course) Apply the patch and cleanup the JS cache in the dataroot e.g. rm /path/to/moodle-master-data/cache/js/* Open a browser and cleanup its cache Log as Administrator and activate SCORM API Debugging Log into a Course, e.g. a Topics one, and Turn Editing on. Create a new SCORM activity using the Prodding SCO (© 2007 Claude Ostyn), SCORM 1.2 , e.g. DnD the file into a Topic. Click on this new SCORM activity and attend to it: a new popup|tab will be opened too (the SCORM API Activity Log ) The item will be launched: the Prodding SCO will appear Click on the link to "SCORM Diagnostic SCO" in the TOC to reload the SCO in the main window make sure the link "API logging is on" is only displayed once Click on the link to "SCORM Diagnostic SCO" again in the TOC to reload the SCO in the main window make sure the link "API logging is on" is only displayed once
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      m25_MDL-38745_SCORM_API_Debugging_trivial_issue

      Description

      When SCORM API Debugging is enabled "API logging is on" is appended on top of the main SCORM window, just above the TOC to allow you to selectively (per user, cookie persistent) disable that feature.
      That statement is appended each time you launch the item.

      Found when working at MDL-38678.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

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