Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1666

"Error getting SCORM data" when opening SCORM in online in some devices

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.1
    • Component/s: Storage
    • Labels:
    • Testing Instructions:
      Hide

      This should be tested on Samsung phone with Android <= 4.3, Android > 4.4 and iOS.

      1. Enter into an SCORM and check it works.
      2. Enter into a forum, go offline.
      3. Add a new discussion.
      4. Go back to the course and enter again to the forum.
      5. Go back to the course, go online and enter again to the forum.
      6. Check the forum is synced correctly.

      Also random navigation should be tested. Downloading files, etc.

      Show
      This should be tested on Samsung phone with Android <= 4.3, Android > 4.4 and iOS. Enter into an SCORM and check it works. Enter into a forum, go offline. Add a new discussion. Go back to the course and enter again to the forum. Go back to the course, go online and enter again to the forum. Check the forum is synced correctly. Also random navigation should be tested. Downloading files, etc.
    • Difficulty:
      Difficult
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle Mobile 3.2.1

      Description

      Reported via e-mail.

      A user could access and play a SCORM in his tablet, but if he tried in a Samsung Galaxy Trend Plus GT-S7580 he got the error "Error getting SCORM data".

      After some debugging we found that the problem is in $mmaModScormOffline#getAttempts, when calling db.whereEqual. It seems that the problem is when calling list() in callWhereEqual. The exception thrown is:

      TYPE_MISMATCH_ERR: DOM Exception 17

      Affected devices:

      • Samsung Galaxy Trend Plus GT-S7580
      • Samsung Galaxy Tab 3 Lite SM-T110
      • Samsung Galaxy S3 mini GT-I8190
      • Samsung Note II
      • Samsung Galaxy Grand Neo
      • Samsung Galaxy Note Tablet GT-N8005 Android: 4.1.2

        Attachments

        1. 1.png
          1.png
          32 kB
        2. MoodleMobile-debug.apk
          8.44 MB

          Issue Links

            Activity

              People

              Assignee:
              pferre22 Pau Ferrer
              Reporter:
              dpalou Dani Palou
              Peer reviewer:
              Dani Palou
              Integrator:
              Juan Leyva
              Tester:
              Berta Maroto
              Participants:
              Component watchers:
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Feb/17

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days, 1 hour
                  2d 1h
                  Remaining:
                  0m
                  Logged:
                  Time Not Required
                  Not Specified