Bug 56933 - Incorrect Error Messaging for Missing `univentionPasswordSelfServiceEmail` Field
Incorrect Error Messaging for Missing `univentionPasswordSelfServiceEmail` Field
Status: NEW
Product: UCS
Classification: Unclassified
Component: Mail
UCS 5.0
amd64 Linux
: P5 normal (vote)
: ---
Assigned To: Mail maintainers
Mail maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-12-20 19:07 CET by ageukes
Modified: 2023-12-20 19:10 CET (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.257
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023112921000236
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ageukes univentionstaff 2023-12-20 19:07:37 CET
# Bug Report: Incorrect Error Messaging for Missing `univentionPasswordSelfServiceEmail` Field

### Current Behavior
When testing the "Forgot Password" self-service and entering the username of a valid user, the system confirms that the token has been sent. However, no email is received and the logs show that the process dies when there is no entry in the `univentionPasswordSelfServiceEmail` field.

### Expected Behavior
The system should not terminate the process when the `univentionPasswordSelfServiceEmail` field is empty. Instead, it should provide a more informative error message to the user.

### Steps to Reproduce
1. Test the "Forgot Password" self-service.
2. Enter the username of a valid user.
3. Confirm the sending of the token via email.
4. Observe that no email is received and the process dies when there is no entry in the `univentionPasswordSelfServiceEmail` field.

### Additional Information
This bug report is based on the observation that the process dies when the `univentionPasswordSelfServiceEmail` field is empty. Improving the error messaging will enhance the user experience and help in troubleshooting. This issue was observed on UCS: 5.0-3 errata803 with the self-service running on the backup. The backup also hosts an OpenXChange-System responsible for email sending. The expected behavior was that the email would be sent to the primary email address. The logs show that the process dies with the module=passwordreset. The error was found to be that the `univentionPasswordSelfServiceEmail` field was not set for the user, only the `mail` and `mailPrimaryAddress` fields were set.