Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-51982

Atto does not recognise empty correctly in Firefox (~41)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.9.2, 3.0
    • Fix Version/s: None
    • Component/s: HTML Editor (Atto)
    • Labels:
    • Testing Instructions:
      Hide

      Test in all browsers, including firefox 41 (an old version of firefox is not enough to cover this test. Please check what version you have and upgrade your firefox if you need to)

      1. Make sure you are using Atto (Site administration ► Plugins ► Text editors ► Manage editors)
      2. Go to Site administration ► Plugins ► Authentication ► Manage authentication
      3. In the instruction text box type following text

        This is an instruction

      4. hit Save
      5. Log out or use incognito/private browsing
      6. Click login
      7. You should see "Is this your first time?" and "This is an instruction"
      8. Log in as an admin again.
      9. Go to Site administration ► Plugins ► Authentication ► Manage authentication
      10. In the instruction text box, place the cursor after "n" at end of line, and backspace all the text, removing all visible characters.
      11. hit Save
      12. Log out or use incognito/private browsing
      13. Click login
      14. You should not see "Is this your first time" any more.
      Show
      Test in all browsers, including firefox 41 (an old version of firefox is not enough to cover this test. Please check what version you have and upgrade your firefox if you need to) Make sure you are using Atto (Site administration ► Plugins ► Text editors ► Manage editors) Go to Site administration ► Plugins ► Authentication ► Manage authentication In the instruction text box type following text This is an instruction hit Save Log out or use incognito/private browsing Click login You should see "Is this your first time?" and "This is an instruction" Log in as an admin again. Go to Site administration ► Plugins ► Authentication ► Manage authentication In the instruction text box, place the cursor after "n" at end of line, and backspace all the text, removing all visible characters. hit Save Log out or use incognito/private browsing Click login You should not see "Is this your first time" any more.
    • Workaround:
      Hide

      Change to HTML mode. You will see a <br> remnant. Deleting the remnant while in HTML mode restores the original login panel which then no longer displays the unwanted message.

      Show
      Change to HTML mode. You will see a <br> remnant. Deleting the remnant while in HTML mode restores the original login panel which then no longer displays the unwanted message.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE

      Description

      Issue:
      User enters text using the text editor in the instruction box to construct a custom message in the login panel.
      User deletes all text entered into the instruction box using the text editor using backspace or delete keys.
      User expects no message to be displayed in the login panel.
      What actually happens is the message "Is this your first time here?" is displayed with no apparent method of removal due to a hidden <br> code remnant which is not visible in text editor mode.
      Solution:
      Changing to HTML mode shows the <br> remnant. Deleting the remnant while in HTML mode restores the original login panel which then no longer displays the unwanted message.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kstj Ken St. John
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: