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

Create module generators for scorm, imscp and folder

    Details

    • Testing Instructions:
      Hide

      Some changes had to be made to the form data processing in modules scorm and imscp. No changes to modules for folder so only automated tests are necessary.

      Regression test:

      1. Add SCORM activity specifying a zip file
      2. View it and make sure it is ok
      3. Edit SCORM activity, do not change zip file
      4. View it and make sure it is ok
      5. Edit SCORM activity, change zip file
      6. View it and make sure it is ok
      7. Edit SCORM activity, pick a file by reference (it can be a zip file from anywhere or imsmanifest.xml from filesystem repository)
      8. View it and make sure it is ok
      9. Try creating and editing scorm activity specifying url or file. (it looks from the code that file will never be deleted after the type is changed to url, this is not related to this issue).
      10. Try creating scorm activity by drag&drop of the zip file on the course page (in editing mode), make sure it is created ok
      1. Add IMSCP activity
      2. View it and make sure it is ok
      3. Edit IMSCP activity, do not upload file
      4. View it and make sure it is ok
      5. Edit IMSCP activity, upload a new file
      6. View it and make sure it is ok
      Show
      Some changes had to be made to the form data processing in modules scorm and imscp. No changes to modules for folder so only automated tests are necessary. Regression test: Add SCORM activity specifying a zip file View it and make sure it is ok Edit SCORM activity, do not change zip file View it and make sure it is ok Edit SCORM activity, change zip file View it and make sure it is ok Edit SCORM activity, pick a file by reference (it can be a zip file from anywhere or imsmanifest.xml from filesystem repository) View it and make sure it is ok Try creating and editing scorm activity specifying url or file. (it looks from the code that file will never be deleted after the type is changed to url, this is not related to this issue). Try creating scorm activity by drag&drop of the zip file on the course page (in editing mode), make sure it is created ok Add IMSCP activity View it and make sure it is ok Edit IMSCP activity, do not upload file View it and make sure it is ok Edit IMSCP activity, upload a new file View it and make sure it is ok
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      wip-MDL-42508-master
    • Sprint:
      BACKEND Sprint 7

      Description

      Following MDL-42400. Scorm and imscp generators are delayed because they need changes in the modules as well so they don't need instance of moodleform.
      Also for some reason I forgot about generator for folder.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    13/Jan/14