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

Improve how the Moodle minium version required is checked

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Log in screen
    • Labels:
    • Testing Instructions:
      Hide
      1. Check that you can still add sites with 2.4 or higher version.
      2. Check that you can't add sites with Moodle 2.3 or older.
      3. You can also copy that function to the console (replacing mmCoreWSPrefix with 'local_mobile_') and perform some manual checks.
      Show
      Check that you can still add sites with 2.4 or higher version. Check that you can't add sites with Moodle 2.3 or older. You can also copy that function to the console (replacing mmCoreWSPrefix with 'local_mobile_') and perform some manual checks.
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE

      Description

      Currently for checking if the site is using Moodle 2.4 or onwards we check if there is a WS that starts by component_strings (isValidMoodleVersion function)

      We are going to remove that WS because it's not currently used, we should rely in the information returned by get_site_info to check the Moodle version (version and release).

      Notice that it's possible that sometimes the release or versions values may be empty (not sure if it's a bug in older versions)

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              21/Oct/15