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

Add support for drag/drop of the scorm activity action events

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.5
    • Component/s: Calendar, SCORM
    • Labels:
    • Testing Instructions:
      Hide

      Setup

      1. Log in as admin
      2. Create a course
      3. Enrol a student in the course (s1)
      4. Enrol a teacher in the course (t1)
      5. Create a scorm activity
        • Set “Available from” to yesterday at 8am
        • Set “Available to” to two days from now at 8am

      Calendar as student

      1. Log in as s1
      2. Navigate to the calendar
      3. Confirm that you can’t drag either of the scorm events

      Calendar as t1

      1. Log in as t1
      2. Navigate to the calendar
      3. Confirm that you see the scorm open event
      4. Confirm that you see the scorm close event
      5. Try to drag the open event after the close event.
      6. Confirm that the days after the scorm close day are greyed out (the day of the scorm close is still acceptable because setting the open date to the close date is valid, according to the mfrom validation)
      7. Confirm the cell background colour change to RED once you drag the open event on the day after the close event (don't drop)
      8. Confirm that you get an error message when you try to drop the event on an invalid day (after the close event)
      9. Confirm that if you drop the event on a valid day that the calendar is updated correctly
      10. Click on the event link to open the event summary and then click Go to activity.
      11. On the SCORM activity, click on the cog on the right side and then click Edit settings.
      12. Confirm* that the "Available from" date for the SCORM is updated
        • Note: Only the date for the scorm open should be updated, the time will not be changed.
      13. Start to drag the scorm close event
      14. Confirm that the days before the scorm open event are greyed out (invalid drop zones)
      15. In the scorm settings tab change the “Available to” time from 8am to 7:55am
      16. Go to the calendar tab and reload it
      17. Start to drag the scorm open event
      18. Confirm that the day of the “Available to” date is no longer a valid drop zone (because the “Available to” has a time of 7:55am so dropping the "Available from" there would be later since the from date is set to 8am)
      19. Start to drag the scorm close event
      20. Confirm that the day for the open event is not a valid drop zone (because 7:55am is earlier than the 8am cutoff from the open event).
      21. Confirm that if you drop the event on a valid day that the calendar is updated correctly
      22. Confirm that the "Allow answers to" date for the scorm is updated (you can open to activity settings in another tab to see that the date has changed)
      Show
      Setup Log in as admin Create a course Enrol a student in the course (s1) Enrol a teacher in the course (t1) Create a scorm activity Set “Available from” to yesterday at 8am Set “Available to” to two days from now at 8am Calendar as student Log in as s1 Navigate to the calendar Confirm that you can’t drag either of the scorm events Calendar as t1 Log in as t1 Navigate to the calendar Confirm that you see the scorm open event Confirm that you see the scorm close event Try to drag the open event after the close event. Confirm that the days after the scorm close day are greyed out (the day of the scorm close is still acceptable because setting the open date to the close date is valid, according to the mfrom validation) Confirm the cell background colour change to RED once you drag the open event on the day after the close event (don't drop) Confirm that you get an error message when you try to drop the event on an invalid day (after the close event) Confirm that if you drop the event on a valid day that the calendar is updated correctly Click on the event link to open the event summary and then click Go to activity . On the SCORM activity, click on the cog on the right side and then click Edit settings . Confirm* that the "Available from" date for the SCORM is updated Note: Only the date for the scorm open should be updated, the time will not be changed. Start to drag the scorm close event Confirm that the days before the scorm open event are greyed out (invalid drop zones) In the scorm settings tab change the “Available to” time from 8am to 7:55am Go to the calendar tab and reload it Start to drag the scorm open event Confirm that the day of the “Available to” date is no longer a valid drop zone (because the “Available to” has a time of 7:55am so dropping the "Available from" there would be later since the from date is set to 8am) Start to drag the scorm close event Confirm that the day for the open event is not a valid drop zone (because 7:55am is earlier than the 8am cutoff from the open event). Confirm that if you drop the event on a valid day that the calendar is updated correctly Confirm that the "Allow answers to" date for the scorm is updated (you can open to activity settings in another tab to see that the date has changed)
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-60061-master

      Description

      Allow the action events created by the scorm activity to be dragged and dropped in the calendar UI.

        Attachments

        1. Confirmed and verified MDL-60061.xlsx
          838 kB
          Gladys Basiana

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  17/May/18