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

Browse repository button doesn't appear on SCORM resource

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.3, 2.0
    • Component/s: SCORM
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      When adding a SCORM to a course from the "Add an activity..." dropdown in Moodle 1.9 there's no "Browse repository" button, only "Choose or upload a file". The repository button appears correctly in 1.7 (I have no 1.8 installation to test).

      This problem is similar to MDL-10036, which affected the IMS module.

      I've raised this in the Forums at http://moodle.org/mod/forum/discuss.php?d=96029, but some relevant information is reproduced below.

      I've done some experimenting, setting tell-tales in the PHP code so I can see when different bits of code are being triggered, and it appears that the \mod\resource\type\ims\repository_config.php file, and the value of repositoryactivate, are now only being accessed by the IMS module (under 'Add a resource') and not by the SCORM module (under 'Add an activity') at all.

      Changing the value of repositoryactivate in repository_config.php makes no difference, in fact renaming the repository_config.php file so it's not found has no effect, though renaming it in 1.7 correctly triggers a "No such file or directory" error message from the PHP interpreter.

      SCORMs in the repository which were added in 1.7 before this Moodle was upgraded to 1.9 still seem to work correctly, but it's now not possible to add new SCORMs from the same repository.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  2 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    15/Oct/08