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

Allow directurl method for HACP AICC

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.2
    • Component/s: SCORM
    • Labels:
    • Testing Instructions:
      Hide

      NOTE TO TESTER: this uses AICC HACP so your site MUST be publicly accessible as the external AICC HACP server posts directly to your site.
      go to admin > plugins > activity modules > SCORM
      make sure the setting "Enable direct AICC url" is set to "yes"
      Create a new SCORM in your site - select the scormtype "external AICC URL" and use the following url:
      https://secure.testcraft.com/dev7/Assess.aspx?aid=MOODLE-AICC-01&apass=PASSWORD123

      Check to make sure the first page of the AICC package recognises and displays your firstname/lastname/username like this:
      First Name: firstname
      Last Name: lastname
      Student ID: username

      if it displays correctly - this test is passed.

      Show
      NOTE TO TESTER: this uses AICC HACP so your site MUST be publicly accessible as the external AICC HACP server posts directly to your site. go to admin > plugins > activity modules > SCORM make sure the setting "Enable direct AICC url" is set to "yes" Create a new SCORM in your site - select the scormtype "external AICC URL" and use the following url: https://secure.testcraft.com/dev7/Assess.aspx?aid=MOODLE-AICC-01&apass=PASSWORD123 Check to make sure the first page of the AICC package recognises and displays your firstname/lastname/username like this: First Name: firstname Last Name: lastname Student ID: username if it displays correctly - this test is passed.
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull Master Branch:
      master_MDL-30146

      Description

      Some HACP AICC packages are very simple and it would be useful to be able to just enter the URL to the package rather than having to create a Zip with the relevant information.

      Piers has already developed a patch for 1.9 that does this but it makes db level changes - it needs to be updated to work with 2.x

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              danmarsden Dan Marsden added a comment - - edited

              NOTE TO INTEGRATOR - the branch above contains the patch from the linked bug MDL-27036 as well - so make sure you review it first!

              Show
              danmarsden Dan Marsden added a comment - - edited NOTE TO INTEGRATOR - the branch above contains the patch from the linked bug MDL-27036 as well - so make sure you review it first!
              Hide
              danmarsden Dan Marsden added a comment -

              Note to anyone wanting this on stable branches - IMO this is a new "feature" - stable branches are for bug fixes only so this will not be backported to the stable branches - but of course you're welcome to use the 1.9 patch attached or backport it in your own installs.

              Show
              danmarsden Dan Marsden added a comment - Note to anyone wanting this on stable branches - IMO this is a new "feature" - stable branches are for bug fixes only so this will not be backported to the stable branches - but of course you're welcome to use the 1.9 patch attached or backport it in your own installs.
              Hide
              stronk7 Eloy Lafuente (stronk7) added a comment -

              Integrated, thanks!

              Show
              stronk7 Eloy Lafuente (stronk7) added a comment - Integrated, thanks!
              Hide
              ankit_frenz Ankit Agarwal added a comment - - edited

              Hi,
              While testing MDL-30041 I noticed this

              Notice: Undefined property: stdClass::$allowtypeexternalaicc in master\moodle\mod\scorm\mod_form.php on line 65

              This appears on add a SCORM pack page

              Edit: - IT needed upgrade from admin interface!
              No notice now
              Thanks

              Show
              ankit_frenz Ankit Agarwal added a comment - - edited Hi, While testing MDL-30041 I noticed this Notice: Undefined property: stdClass::$allowtypeexternalaicc in master\moodle\mod\scorm\mod_form.php on line 65 This appears on add a SCORM pack page Edit: - IT needed upgrade from admin interface! No notice now Thanks
              Hide
              danmarsden Dan Marsden added a comment -

              pretty sure that would have happened if you tested code but didn't trigger upgrade scripts via admin > notifications - can you please check again?

              Show
              danmarsden Dan Marsden added a comment - pretty sure that would have happened if you tested code but didn't trigger upgrade scripts via admin > notifications - can you please check again?
              Hide
              ankit_frenz Ankit Agarwal added a comment -

              Works as stated
              I did get
              "You have already completed this assessment the number of times allowed."
              But thats just the pack I guess.
              Passing
              Thanks

              Show
              ankit_frenz Ankit Agarwal added a comment - Works as stated I did get "You have already completed this assessment the number of times allowed." But thats just the pack I guess. Passing Thanks
              Hide
              stronk7 Eloy Lafuente (stronk7) added a comment -

              Yes, you got this finally upstream, just in time for Moodle 2.2beta. Congrats and thanks!

              Ciao

              Show
              stronk7 Eloy Lafuente (stronk7) added a comment - Yes, you got this finally upstream, just in time for Moodle 2.2beta. Congrats and thanks! Ciao

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    5/Dec/11