delete icon not needed for primary email address
Bug #1756182 reported by
Steven
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Lisa Seeto |
Bug Description
Environment tested: Master
Browser tested: Chrome
===================
Manual Test Script
===================
1) user browse to Main menu > Profile > Contact information
2) User adds multiple email addresses
3) User tries to delete primary email address
Actual Result: error message is displayed "You cannot remove your primary email address."
Expected Result: If user cannot delete a primary email address, then the delete icon next to the primary email should not be displayed.
Changed in mahara: | |
milestone: | 18.10.0 → none |
tags: | added: snack-sized |
Changed in mahara: | |
status: | Confirmed → In Progress |
assignee: | nobody → Lisa Seeto (lisaseeto) |
Changed in mahara: | |
status: | In Progress → Fix Committed |
milestone: | none → 19.04.0 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This is a bit more complicated: When a user changes the radio button to one of the other email addresses, they can delete the primary email address.
Scenarios:
1. Only one email address: There should not be a delete button as the only email address cannot be deleted.
2. One or more email addresses: The primary email does not have delete button. When the primary address is changed, it should receive the delete button and the now primary email address gets it removed.