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

Use formatted siteurl to reconnect to a site

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.7
    • Component/s: Log in screen
    • Labels:
    • Testing Instructions:
      Hide

      For this test you'll have to use a Moodle without local_mobile installed. We'll install it during the test.

      1. Use a fixed URL in components/login/main.js. Please make sure this URL doesn't follow our "format" style (e.g. add a "/" at the end of the URL).
      2. Login in the app.
      3. Install local_mobile in Moodle.
      4. The app should tell you to reconnect. Please check that the URL shown in the reconnect screen is formatted (e.g. last "/" was removed).
      Show
      For this test you'll have to use a Moodle without local_mobile installed. We'll install it during the test. Use a fixed URL in components/login/main.js. Please make sure this URL doesn't follow our "format" style (e.g. add a "/" at the end of the URL). Login in the app. Install local_mobile in Moodle. The app should tell you to reconnect. Please check that the URL shown in the reconnect screen is formatted (e.g. last "/" was removed).
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE

      Description

      When session expires we call $mmSitesManager#checkSite and then redirect to the reconnect string. We should send the URL formatted by checkSite to the reconnect state, otherwise this can cause bugs with fixed URLs.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              29/Dec/15