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

Improve AICC HACP Handling so that direct login isn't required

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 2.2
    • 2.0.2
    • SCORM
    • N/A
    • Any
    • MOODLE_20_STABLE
    • MOODLE_22_STABLE
    • master_MDL-27036
    • Hide

      NOTE TO TESTER - your TEST site must be publicly externally accessible - not an internal test install eg localhost/192.168.x.x the external AICC HACP package makes a call back to your install.

      Also - this package only allows a single attempt per user, so if you previously tested this you will need to use a different user to confirm it works.

      Under Admin > Plugins > Activity Modules > SCORM
      make sure the following settings are made:
      Enable AICC HACP = yes
      Create a new SCORM in your site using the package attached to this bug: "MOODLE-AICC-01_20110330.zip"

      Enter the SCORM - if the AICC package displays your username firstname/lastname and gives you a login link - the first part of this patch has worked correctly. Without this patch in place, the AICC HACP package will display an error stating that the lms hasn't given it the right info. Then answer the questions, exit the AICC package completely by returning to the course homepage then return to check if Moodle has registered a grade for the attempt.

      Show
      NOTE TO TESTER - your TEST site must be publicly externally accessible - not an internal test install eg localhost/192.168.x.x the external AICC HACP package makes a call back to your install. Also - this package only allows a single attempt per user, so if you previously tested this you will need to use a different user to confirm it works. Under Admin > Plugins > Activity Modules > SCORM make sure the following settings are made: Enable AICC HACP = yes Create a new SCORM in your site using the package attached to this bug: "MOODLE-AICC-01_20110330.zip" Enter the SCORM - if the AICC package displays your username firstname/lastname and gives you a login link - the first part of this patch has worked correctly. Without this patch in place, the AICC HACP package will display an error stating that the lms hasn't given it the right info. Then answer the questions, exit the AICC package completely by returning to the course homepage then return to check if Moodle has registered a grade for the attempt.

    Description

      When launching an AICC HACP package activity from Moodle, the content server makes a "GetParam" callback to the Moodle-provided callback URL to get the student's name and other data. Moodle incorrectly returns the HTML for the login page and doesn't allow the callback to occur.

      The callback URL leads to the "aicc.php" script. This script clearly calls the "require_login()" function. It also requires $SESSION data.

      The whole point of AICC HACP communication is to allow the content server to call the callback URL to communicate with the LMS. The AICC standard, to my knowledge, doesn't say anything about logging into the LMS to communicate via HACP.

      If you could remove the "require_login()" and "$SESSION" requirement in the code, I'm thinking AICC HACP would work. But, perhaps there is more to it than that.

      Attached is an AICC package that integrates with my product (Testcraft assessment software). The server hosting the content is publicly available. If you need further packages, let me know.

      Attachments

        Issue Links

          Activity

            People

              danmarsden Dan Marsden
              rdugre Rob Dugre
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Ankit Agarwal Ankit Agarwal
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/Dec/11