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

URL variables not working in Moodle Mobile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.1
    • Fix Version/s: 3.5.2
    • Component/s: URL add-on
    • Labels:
    • Testing Instructions:
      Hide
      1. In Moodle, create a new URL activity.
        1. Enter an External URL, for instance "https://www.google.com/search"
        2. Under the header "URL variables", enter at least one parameter / variable pair, for instance "q" and "User full name"
      2. In the app, open the URL activity. Check that the url displayed includes the parameters you specified.
      3. Click the "Access the URL" button. Check that the page is opened with the parameters (in the example above it should search the user full name).
      Show
      In Moodle, create a new URL activity. Enter an External URL, for instance "https://www.google.com/search" Under the header "URL variables", enter at least one parameter / variable pair, for instance "q" and "User full name" In the app, open the URL activity. Check that the url displayed includes the parameters you specified. Click the "Access the URL" button. Check that the page is opened with the parameters (in the example above it should search the user full name).
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Sprint:
      Moodle Mobile 3.5.2

      Description

      When creating a URL activity in Moodle, the "URL variables" that are used on the web seem to not be working in the Mobile app.

      1. Create a new URL activity and give it a name
      2. Enter an External URL, for instance "https://www.google.com/search"
      3. Under the header "URL variables", enter at least one parameter / variable pair, for instance "q" and "User full name"
      4. Save and confirm that the URL activity works as expected on the web (the above example should open a Google query of the user's full name)
      5. Open the URL activity from the mobile app. The url displayed will be the External URL, not the full url with variables.
      6. Click the "Access the URL" button, the External URL will open without the variables (the above example will open a blank Google query)

      Other relevant details: tested with site version 3.4, device used was an IPhone 8 running iOS 11.2.1

      Cross listed: https://tracker.moodle.org/browse/MDL-62165

        Attachments

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Sep/18