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

Redirect to another site fails if the current site has remote addons

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Install the app in a real device and login in 2 sites (one of them should have a remote addon installed, like prototype 3.1).
      2. While you're logged in the site with a remote addon you should receive a notification from the other site (either a push notification or a calendar event reminder).
      3. Click the notification and check that, after the app is restarted, you're redirected to the right state in the right site.

      This can be emulated in Javascript console using:

      $state.go('redirect',

      {siteid: SITEID, state: STATETOGO, params: PARAMS}

      )

      Show
      Install the app in a real device and login in 2 sites (one of them should have a remote addon installed, like prototype 3.1). While you're logged in the site with a remote addon you should receive a notification from the other site (either a push notification or a calendar event reminder). Click the notification and check that, after the app is restarted, you're redirected to the right state in the right site. This can be emulated in Javascript console using: $state.go('redirect', {siteid: SITEID, state: STATETOGO, params: PARAMS} )
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Sprint:
      Moodle Mobile 3.2

      Description

      In some places we do a redirect to another stored site, like when clicking a push notification from another site. We have a problem if the current site has remote addons, since we do a reload of the page and we lose the target site/page.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/Dec/16