Moodle
  1. Moodle
  2. MDL-35737

TOC is not updated with external manifests unless teacher edits actvity

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.4
    • Fix Version/s: 2.3.4, 2.4.1
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide

      at the site level under admin > plugins > activities > SCORM
      set "Enable external package type" to allow (tick the box)
      in your webroot (doesn't need to be inside your moodle dir) add a folder and extract the zip file attached to this tracker "Fruit_Quizzes3_for_SCORM.zip"s into that folder.

      Work out what url would be used to link to the imsmanifest.xml file inside that folder eg:
      http://mysite.com/scormpackage/imsmanifest.xml

      Create a SCORM package in your Moodle course and instead of uploading a file select the option "external SCORM Manifest" and paste the full url to the imsmanifest.xml file discovered above. (If you paste an invalid URL SCORM doesn't discover this correctly atm and will throw some php errors- ignore this)
      on the SCORM editing page set "Auto-update frequency" to "every time it's used"
      set "Display course structure on entry page" to "yes" to help with testing.

      Enter the SCORM to make sure it loads as expected (if you get errors on load make sure your file permissions on the extracted SCORM files are correct)

      Take note of the text used on the Content structure "fruit quiz" etc.
      replace the imsmanifest.xml file stored in your previously extracted scorm folder with the imsmanifest.xml file attached to this issue.
      Re-enter SCORM (don't enter settings page)
      The SCORM entry page should show different names in the TOC than the original version. If it still shows "fruit quiz" like the old version then the update has not occurred correctly.

      Show
      at the site level under admin > plugins > activities > SCORM set "Enable external package type" to allow (tick the box) in your webroot (doesn't need to be inside your moodle dir) add a folder and extract the zip file attached to this tracker "Fruit_Quizzes3_for_SCORM.zip"s into that folder. Work out what url would be used to link to the imsmanifest.xml file inside that folder eg: http://mysite.com/scormpackage/imsmanifest.xml Create a SCORM package in your Moodle course and instead of uploading a file select the option "external SCORM Manifest" and paste the full url to the imsmanifest.xml file discovered above. (If you paste an invalid URL SCORM doesn't discover this correctly atm and will throw some php errors- ignore this) on the SCORM editing page set "Auto-update frequency" to "every time it's used" set "Display course structure on entry page" to "yes" to help with testing. Enter the SCORM to make sure it loads as expected (if you get errors on load make sure your file permissions on the extracted SCORM files are correct) Take note of the text used on the Content structure "fruit quiz" etc. replace the imsmanifest.xml file stored in your previously extracted scorm folder with the imsmanifest.xml file attached to this issue. Re-enter SCORM (don't enter settings page) The SCORM entry page should show different names in the TOC than the original version. If it still shows "fruit quiz" like the old version then the update has not occurred correctly.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      master_MDL-35737

      Description

      We are working with External SCORM manifest and Auto-update frequency option set to Every time it's used.

      When we update the SCORM manifest, we have detected that the TOC is not updated unless the teacher updates the SCORM activity.

        Gliffy Diagrams

          Activity

          Hide
          Dan Marsden added a comment -

          thanks for the report - can you please also provide information on the other settings you are using in SCORM? - particularly if skip content structure is being used and if the scorm is loading in a current or new window. - thanks.

          Show
          Dan Marsden added a comment - thanks for the report - can you please also provide information on the other settings you are using in SCORM? - particularly if skip content structure is being used and if the scorm is loading in a current or new window. - thanks.
          Hide
          José Miguel Andonegi Martínez added a comment -

          Hi Dan:

          Now we have chosen Auto-update frequency to Everyday and it's working fine (but it´s only updated once a day)

          This is the configuration:

          Type: External SCORM manifest
          URL: the URl of the manifest (hosted in the same service)
          Display package: current window
          Student skip content structure page: Never
          Disable preview mode: Yes
          Display course structure on entry page: Yes
          Display course structure in player: To the side
          Hide navigation buttons: No
          Number of attempts: Unlimited attempts
          Attempts grading: Highest attempt
          Display attempt status: Yes
          Force completed: Yes
          Force new attempt: No
          Lock after final attempt: No
          Auto-continue: No
          Auto-update frequency: Everytime it's used (not working)

          Show
          José Miguel Andonegi Martínez added a comment - Hi Dan: Now we have chosen Auto-update frequency to Everyday and it's working fine (but it´s only updated once a day) This is the configuration: Type: External SCORM manifest URL: the URl of the manifest (hosted in the same service) Display package: current window Student skip content structure page: Never Disable preview mode: Yes Display course structure on entry page: Yes Display course structure in player: To the side Hide navigation buttons: No Number of attempts: Unlimited attempts Attempts grading: Highest attempt Display attempt status: Yes Force completed: Yes Force new attempt: No Lock after final attempt: No Auto-continue: No Auto-update frequency: Everytime it's used (not working)
          Hide
          Dan Poltawski added a comment -

          The main moodle.git repository has just been updated with latest weekly modifications. You may wish to rebase your PULL branches to simplify history and avoid any possible merge conflicts. This would also make integrator's life easier next week.

          TIA and ciao

          Show
          Dan Poltawski added a comment - The main moodle.git repository has just been updated with latest weekly modifications. You may wish to rebase your PULL branches to simplify history and avoid any possible merge conflicts. This would also make integrator's life easier next week. TIA and ciao
          Hide
          Dan Poltawski added a comment -

          Hi Dan,

          Should this be backported to 2.2?

          Show
          Dan Poltawski added a comment - Hi Dan, Should this be backported to 2.2?
          Hide
          Dan Poltawski added a comment -

          Since 2.2 is going out of support v.soon, i've integrated this without it in the interests of getting the bug fix. Integrated to master, 24 and 23.

          Show
          Dan Poltawski added a comment - Since 2.2 is going out of support v.soon, i've integrated this without it in the interests of getting the bug fix. Integrated to master, 24 and 23.
          Hide
          Dan Marsden added a comment -

          thanks Dan - sorry missed this while I was away - I'm happy - thanks.

          Show
          Dan Marsden added a comment - thanks Dan - sorry missed this while I was away - I'm happy - thanks.
          Hide
          Ankit Agarwal added a comment -

          Perth hackfest, he he
          Works as described, text was changed to "perth hackfest 2012".
          Passing

          Show
          Ankit Agarwal added a comment - Perth hackfest, he he Works as described, text was changed to "perth hackfest 2012". Passing
          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:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: