Details
-
Type:
Feature Request
-
Status: Verified
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 11.4, 12.6, 19.0, 20.0
-
Component/s: Email Archive, Site Info
-
Labels:
-
19 status:Resolved
-
Test Plan:
Description
Currently when you duplicate a site which contains the Email Archive tool, the resulting duplicated site's Email Archive tool will have the site's email alias set to the UUID of the site. This isn't very intuitive for the user; they may not immediately notice the alias, and when they do they may not understand what the UUID is or why it was set this way.
The linked PR proposes changing this behaviour to provide more control for the user to determine what the email alias should be. If the originating site contains the Email Archive tool, the user will be presented with a new, dedicated text box to enter their desired email alias.
If the user does not provide any input into the email alias field, they are presented with an appropriate error message which blocks the duplication process. If the user provides an email alias which is already in use by another site, the user is presented with an appropriate error message which blocks the duplication process. Once the user has provided a valid, unique email alias, the duplication process can be completed normally.
During testing of this PR, I also noticed that the error messaging was not properly implemented. If any error besides the first one in the code (which checks if a site title was provided) is triggered, the site duplication process proceeds as if no errors were encountered. The linked PR also fixes this bug so that proper error messaging is displayed to the user before the duplication process continues.
I also fixed a bug where the user supplied site title would not be pre-populated in the form in the event of an error message being displayed (loss of user data).