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

Multiple error modals cannot be closed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2
    • 2.2
    • Ionic
    • 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.
    • MOODLE_22_STABLE
    • 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

              dpalou Dani Palou
              dpalou Dani Palou
              Juan Leyva Juan Leyva
              Juan Leyva Juan Leyva
              Juan Leyva Juan Leyva
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/15