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

Uncaught DataError: Failed to execute 'put' on 'IDBObjectStore'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.2
    • 2.2
    • Storage
    • Hide

      Since we can't reproduce this issue this is the easiest way to test:

      1. Open the console and execute the following code. A modal to report the error should be shown.

        window.onerror('Some error', 'myfile', 1)
        

      2. Open the console and execute the following code. No modal should be shown (error ignored).

        window.onerror("Uncaught DataError: Failed to execute 'put' on 'IDBObjectStore'", 'myfile', 1)
        

      Show
      Since we can't reproduce this issue this is the easiest way to test: Open the console and execute the following code. A modal to report the error should be shown. window.onerror('Some error', 'myfile', 1) Open the console and execute the following code. No modal should be shown (error ignored). window.onerror("Uncaught DataError: Failed to execute 'put' on 'IDBObjectStore'", 'myfile', 1)
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE

    Description

      MoodleMobile 2.1 has the feature to be able to send error reports to us. We keep getting reports of this error, coming from all kind of devices:

      File: file:///android_asset/www/lib/ydn.db/jsc/ydn.db-dev.js
      Line: 189
      Platform: Android
      Cordova: 3.7.1
      URL loaded: file:///android_asset/www/index.html#/mm_login/site
      Message:
      Uncaught DataError: Failed to execute 'put' on 'IDBObjectStore': Evaluating the object store's key path yielded a value that is not a valid key.

      Most of the reporters use Android 5.x, but I've also seen some 4.4.4 (haven't looked at all the reports).

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              dpalou Dani Palou
              Juan Leyva Juan Leyva
              Juan Leyva Juan Leyva
              Juan Leyva Juan Leyva
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/15