Password pieform doesn't use defaultvalue

Bug #812078 reported by Hugh Davenport
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Hugh Davenport

Bug Description

If there is no value attribute, and nothing in GET/POST, it should fall back onto the defaultvalue attribute, like textarea elements for example

Changed in mahara:
assignee: nobody → Hugh Davenport (hugh-catalyst)
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Hugh Davenport (hugh-davenport) wrote :
Revision history for this message
Hugh Davenport (hugh-davenport) wrote :

I came across this bug when I edited an LDAP authentication for an institution. When you have a bind password.

If you edit the authentication, it brings up a window with all the values filled in except the password, when you submit, it overwrites the password with '' unless you enter in the password.

The patch on gerrit makes it so that when you edit the authentication, the password is set for that input field, so you can save without re-entering the password.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/489
Committed: http://gitorious.org/mahara/mahara/commit/5b353fe11912ed934c2ae90192642d2a74370fde
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit 5b353fe11912ed934c2ae90192642d2a74370fde
Author: Hugh Davenport <email address hidden>
Date: Mon Jul 18 12:57:32 2011 +1200

    Use defaultvalue for password pieform

    In a password pieform, if there was no value attribute, it didn't
    fall back onto the defaultvalue attribute, like in the textarea element
    for example

    Bug #812078

    Change-Id: Ib5c80ab4bf59a02a3f169cfb863b4512cb20e0a3
    Signed-off-by: Hugh Davenport <email address hidden>

Changed in mahara:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.