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

bug: cached views don't update their $stateParams when being reused

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 3.2
    • AngularJS, Ionic
    • MOODLE_32_STABLE

      Hi!! I found out that the $stateParams don't get synchronized with the views while using $ionicHistory (cached views).
      Specifically, in the line file 302 of file https://github.com/moodlehq/moodlemobile2/blob/master/www/core/components/fileuploader/services/helper.js the var upload is always undefined because doesn't get the correct $stateParams.

      Fortunatelly, I discovered this fix, but I don't know how to insert it in the app:

      https://gist.github.com/thiagofelix/3c16e9cae0e03eebd351

      Anyone can help?

            Unassigned Unassigned
            pedroc Pedro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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