Details
-
Improvement
-
Resolution: Fixed
-
Major
-
2.0.2
-
N/A
-
Any
-
MOODLE_20_STABLE
-
MOODLE_22_STABLE
-
master_
MDL-27036 -
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.