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

Multiple error modals cannot be closed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2
    • Fix Version/s: 2.2
    • Component/s: Ionic
    • Labels:
    • Testing Instructions:
      Hide
      1. Install the app on a device and go to "Add new site".
      2. Enter an invalid URL and press the send button in the keyboard. Check that the keyboard is closed.
      3. You can check the same for new site credentials, site reconnect and search contact.
      4. Go to messages discussion, simulate server down (turn off apache, disconnect your router) and send a message. Check that the keyboard is closed. Sending a successful message shouldn't close the keyboard. Check the same with mod_chat.
      Show
      Install the app on a device and go to "Add new site". Enter an invalid URL and press the send button in the keyboard. Check that the keyboard is closed. You can check the same for new site credentials, site reconnect and search contact. Go to messages discussion, simulate server down (turn off apache, disconnect your router) and send a message. Check that the keyboard is closed. Sending a successful message shouldn't close the keyboard. Check the same with mod_chat.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE

      Description

      Seems to be an Ionic bug, but we can prevent it. Steps to reproduce:

      1. Go to the add new site screen.
      2. Enter an invalid URL and send the form using the keyboard send button, not the UI button.
      3. An error modal will be shown but the keyboard won't be closed. Click the send button again as many times as you want.
      4. Try to close the error modal clicking the OK button. The error modal never closes.

        Attachments

          Issue Links

            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:
                  10/Sep/15