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

AICC HACP multiline content not stored/processed correctly

XMLWordPrintable

    • MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE
    • MOODLE_403_STABLE, MOODLE_404_STABLE
    • MDL-82193-403
    • MDL-82193-404
    • MDL-82193-main
    • Hide

      This must be done on a server that is accessible to the internet, and hosted via https.

      1. Go into the site settings, and enable allowaicchacp
      2. Go into a course, and create a new SCORM activity
        1. Use the attached SCORM package
        2. Save
      3. In the SCORM package, click preview
        • There will be a brief countdown
        • You will need to allow the popup(s)
      4. In the popup, click the Blue Continue button, and what a few seconds of video in the new popup.
      5. Close the smaller video popup, then in the original popup, click Exit course in the top right corner
      6. You should now be back in the Moodle SCORM page
      7. Click exit activity
      8. Go back into the package
      9. Click Preview again
        • After the countdown:
        • Confirm: the content pops up again (again watch out for the blocker)
        • Without the patch, you should have seen an error after the timer finished ticking down
      Show
      This must be done on a server that is accessible to the internet, and hosted via https. Go into the site settings, and enable allowaicchacp Go into a course, and create a new SCORM activity Use the attached SCORM package Save In the SCORM package, click preview There will be a brief countdown You will need to allow the popup(s) In the popup, click the Blue Continue button, and what a few seconds of video in the new popup. Close the smaller video popup, then in the original popup, click Exit course in the top right corner You should now be back in the Moodle SCORM page Click exit activity Go back into the package Click Preview again After the countdown: Confirm : the content pops up again (again watch out for the blocker) Without the patch, you should have seen an error after the timer finished ticking down

      The refactor of multi-line processing in MDL-63539 fixed some things, but introduced an issue.

      Specifically, it encodes the header line as apart of the value, so when it is sent back, it is duplicated. So the AICC endpoint receives in a PutParam:

      [Core_Lesson]
      EnrollmentID=1497917538
      ABC=123
      

      It will return when queried:

      [Core_Lesson]
      [Core_Lesson]
      EnrollmentID=1497917538
      ABC=123
      

      We have run across at least one system where this breaks the remote system.

            emerrill Eric Merrill
            emerrill Eric Merrill
            Darko Miletic Darko Miletic
            Mihail Geshoski Mihail Geshoski
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 32 minutes
                3h 32m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.