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

New password form field is not valid after 1.9.16 update

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.9.16, 2.0.7, 2.1.4, 2.2.1, 2.3
    • 1.9.17, 2.0.8, 2.1.5, 2.2.2
    • CentOS 5.7 i386, MySQL 5.5.20 and PHP 5.3.9 (Remi repo), Lighttpd 1.4.26 with PHP-FPM
    • MySQL
    • MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • w03_MDL-31213_m23_attributesmess
    • Hide

      For developers:
      1/ go to page for adding new users
      2/ verify the html for password element
      3/ go to advancededitform code and change attributes to array('size'=>20) and verify again
      4/ remove the size attribute completely and verify again

      Show
      For developers: 1/ go to page for adding new users 2/ verify the html for password element 3/ go to advancededitform code and change attributes to array('size'=>20) and verify again 4/ remove the size attribute completely and verify again

    Description

      After upgrading to 1.9.16 it is imposible to create a new account using /user/editadvanced.php?id=-1
      It always consider the password invalid

      On 1.9.15 it works and inside the HTML we can find

      <div class="felement fpassword"><input size="20" name="newpassword" type="password" onblur="validate_user_editadvanced_form_newpassword(this)" onchange="validate_user_editadvanced_form_newpassword(this)" id="id_newpassword" /><script type="text/javascript">

      On 1.9.16 it does not work and inside the HTML we can find

      <div class="felement fpassword"><input size="20"><script type="text/javascript">

      As you can see the "newpassword" form field is cropped.

      Attachments

        Activity

          People

            skodak Petr Skoda
            generazion Generazion Consulting S.L.
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Michael de Raadt Michael de Raadt
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              12/Mar/12