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

New password form field is not valid after 1.9.16 update

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.9.16, 2.0.7, 2.1.4, 2.2.1, 2.3
    • Fix Version/s: 1.9.17, 2.0.8, 2.1.5, 2.2.2
    • Labels:
    • Environment:
      CentOS 5.7 i386, MySQL 5.5.20 and PHP 5.3.9 (Remi repo), Lighttpd 1.4.26 with PHP-FPM
    • Database:
      MySQL
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w03_MDL-31213_m23_attributesmess

      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

            Assignee:
            skodak Petr Skoda
            Reporter:
            generazion Generazion Consulting S.L.
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Michael de Raadt
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/Mar/12