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

URL module hangs if accessed before its finished loading

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.6.1
    • Component/s: URL add-on
    • Labels:
    • Testing Instructions:
      Hide

      This issue is very difficult to reproduce, so there's no reliable way to test it without modifying the code. It's best to use a very large course and use an emulator set with a low network bandwidth so the app loads content slower. At least we need to test the fix does not introduce any regression.

      1. Add a URL module at the top of  a  course, with the "Display" setting set to "Open"
      2. Access the course in the app, and open the URL module immediately, before the link button has loaded on the right hand side
      3. Check that the links is opened in the system browser
      Show
      This issue is very difficult to reproduce, so there's no reliable way to test it without modifying the code. It's best to use a very large course and use an emulator set with a low network bandwidth so the app loads content slower. At least we need to test the fix does not introduce any regression. Add a URL module at the top of  a  course, with the "Display" setting set to "Open" Access the course in the app, and open the URL module immediately, before the link button has loaded on the right hand side Check that the links is opened in the system browser
    • Affected Branches:
      MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle Mobile 3.6.1

      Description

      Steps to reproduce:

      1. Add a URL module to a course, with the "Display" setting set to "Open"
      2. Access the course in the app, and open the URL module immediately, before the link button has loaded on the right hand side
        • Expected: The link opens in the system web browser
        • Actual: The "Loading" modal is displayed, and is never removed.  There is no way to close it without killing the app.

      This is tricky to reproduce on the moodle demo site as the courses are small, so the content loads almost immediately.  However we can reproduce it consistently with some of our larger courses.

        Attachments

          Activity

            People

            Assignee:
            albert.gasset Albert Gasset
            Reporter:
            marxjohnson Mark Johnson
            Peer reviewer:
            Pau Ferrer
            Integrator:
            Juan Leyva
            Tester:
            Dani Palou
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              29/Mar/19