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

Report errors from cordova, Ionic and ydn-db in background (configurable)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Others
    • Labels:
    • Testing Instructions:
      Hide

      To simulate errors you can call window.onerror from console. Please use values that can help us identify they are fake errors.

      1. Check that the first time an error happens, a confirm modal is shown asking if you want to report errors in background.
      2. Check that if you accept that modal, the new setting in App Settings > General is enabled. Check the opposite too.
      3. Check that, if the setting is enabled, all errors are reported in background. Check the opposite too: if the setting is disabled, a confirm modal should be shown.
      Show
      To simulate errors you can call window.onerror from console. Please use values that can help us identify they are fake errors. Check that the first time an error happens, a confirm modal is shown asking if you want to report errors in background. Check that if you accept that modal, the new setting in App Settings > General is enabled. Check the opposite too. Check that, if the setting is enabled, all errors are reported in background. Check the opposite too: if the setting is disabled, a confirm modal should be shown.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE

      Description

      We're receiving a lot of errors from Cordova, Ionic and ydn-db and that can be really annoying for the users. We should report them in background, and the user should be able to configure if he wants to send them or not. We'll implement it in 2 steps:

      1. Ignore all these errors so we can publish new versions ASAP.
      2. Implement the report in background feature.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Frédéric Massart
            Integrator:
            Juan Leyva
            Tester:
            Juan Leyva
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              8/Oct/15