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

Display debug messages does not work in the "Add site" screen

    XMLWordPrintable

    Details

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

      This issue should only be tested in 1 device.

      1. Go to the Moodle database and open the table mdl_config.
      2. Edit the setting rememberusername and set some text in it (e.g. "aa").
      3. In web, edit as admin and purge caches.
      4. In the app, go to App settings > General and enable "Display debug messages".
      5. Try to add the site in the app. Check that in the error modal you see the debug info, something like: "rememberusername => Invalid response value detected ..."

      Steps 1 and 2 could also be done using config.php file and entering $CFG->rememberusername = 'aa';

      Show
      This issue should only be tested in 1 device. Go to the Moodle database and open the table mdl_config. Edit the setting rememberusername and set some text in it (e.g. "aa"). In web, edit as admin and purge caches. In the app, go to App settings > General and enable "Display debug messages". Try to add the site in the app. Check that in the error modal you see the debug info, something like: "rememberusername => Invalid response value detected ..." Steps 1 and 2 could also be done using config.php file and entering $CFG->rememberusername = 'aa';
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Sprint:
      Moodle App 3.7.1

      Description

      Is not displaying errors of the AJAX requests done after adding a new site.

      Apart from that, we should investigate why in the web app version the error is ignored and the user can log-in while in the other platforms (Android, iOS, Desktop) the user is stopped to log-in.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                30/Aug/19