Moodle

Errors when deploying SCORM objects in IMS repo

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor 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

Activity

Hide
Dan Marsden added a comment -

attaching patch for review that removes errors.

Dan

Show
Dan Marsden added a comment - attaching patch for review that removes errors. Dan
Hide
Petr Škoda (skodak) added a comment -

ims resource to be removed in 2.0

Show
Petr Škoda (skodak) added a comment - ims resource to be removed in 2.0
Hide
Petr Škoda (skodak) added a comment -

Tested some scorms in latest 2.0dev, seems to work fine.
Thanks for the patch, unfortunately only security fixes are planned for 1.9, closing.

Petr Skoda

Show
Petr Škoda (skodak) added a comment - Tested some scorms in latest 2.0dev, seems to work fine. Thanks for the patch, unfortunately only security fixes are planned for 1.9, closing. Petr Skoda

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: