← Back to team overview

mahara-contributors team mailing list archive

[Bug 1756182] Re: delete icon not needed for primary email address

 

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.

** Changed in: mahara
       Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
    Milestone: None => 18.10.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1756182

Title:
  delete icon not needed for primary email address

Status in Mahara:
  Confirmed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1756182/+subscriptions


References