Disabled 'emaillist' element should not allow new addresses to be added
Bug #917935 reported by
Richard Mansfield
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Low
|
Richard Mansfield |
Bug Description
The 'emaillist' pieform element doesn't appear greyed out or uneditable when it's disabled. This means that when the email address field is locked in institution settings, users may still try to add new addresses without receiving a useful error message.
Changed in mahara: | |
assignee: | nobody → Richard Mansfield (richard-mansfield) |
Changed in mahara: | |
status: | Confirmed → In Progress |
milestone: | none → 1.5.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/1047 gitorious. org/mahara/ mahara/ commit/ 61c9b6ebd1684d0 870a3dd9e8a62c9 d73b6f4bc0
Committed: http://
Submitter: Hugh Davenport (<email address hidden>)
Branch: master
commit 61c9b6ebd1684d0 870a3dd9e8a62c9 d73b6f4bc0
Author: Richard Mansfield <email address hidden>
Date: Tue Feb 14 13:13:53 2012 +1300
Display locked email as uneditable on Edit profile page (bug #917935)
The 'emaillist' pieform element doesn't appear greyed out or
uneditable when it's disabled. This means that when the email address
field is locked in institution settings, or because the email address
is imported from Moodle, users may still try to add new addresses
without receiving a useful error message.
When displaying this element on the Edit Profile page, the help item
is hidden whenever the element is locked, because it refers to buttons
and links that don't appear in the form.
Change-Id: Ia9a149e9110932 ebac9202a1691d2 9799d327dc2
Signed-off-by: Richard Mansfield <email address hidden>