Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8.7, 1.9.3, 2.0
-
Fix Version/s: 2.0
-
Component/s: IMS-CP resource type
-
Labels:None
-
Affected Branches:MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
a range of the following errors appear when "deploying" a scorm object in an IMS repository. - The deploy is successful - just a range of ugly errors are displayed.
Notice: Undefined index: xml:base in /home/dan/www/cvs2/mod/resource/type/ims/repository_deploy.php on line 150
default_organization: ORG_1
- line 266 of mod/resource/type/ims/repository_deploy.php: call to debugging()
- line 158 of mod/resource/type/ims/repository_deploy.php: call to ims_process_organizations()
- line 56 of mod/resource/type/ims/repository_deploy.php: call to ims_deploy_file()
Notice: Undefined index: item in /home/dan/www/cvs2/mod/resource/type/ims/repository_deploy.php on line 334
level 2-id 3-parent 1-Lab Information
- line 330 of mod/resource/type/ims/repository_deploy.php: call to debugging()
- line 337 of mod/resource/type/ims/repository_deploy.php: call to ims_process_items()
- line 296 of mod/resource/type/ims/repository_deploy.php: call to ims_process_items()
- line 158 of mod/resource/type/ims/repository_deploy.php: call to ims_process_organizations()
- line 56 of mod/resource/type/ims/repository_deploy.php: call to ims_deploy_file()
Notice: Undefined index: @ in /home/dan/www/cvs2/mod/resource/type/ims/repository_deploy.php on line 163
count_resources: 10
- line 366 of mod/resource/type/ims/repository_deploy.php: call to debugging()
- line 166 of mod/resource/type/ims/repository_deploy.php: call to ims_load_resources()
- line 56 of mod/resource/type/ims/repository_deploy.php: call to ims_deploy_file()
Notice: Undefined index: xml:base in /home/dan/www/cvs2/mod/resource/type/ims/repository_deploy.php on line 376
Notice: Undefined index: href in /home/dan/www/cvs2/mod/resource/type/ims/repository_deploy.php on line 377
attaching patch for review that removes errors.
Dan