[COMPASS-2938] Connect error message misleading Created: 12/Jun/18 Updated: 29/Oct/23 Resolved: 01/Aug/19 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Compass, Connectivity |
| Affects Version/s: | 1.14.0-beta |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Grigori Melnik (Inactive) | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Epic Link: | COMPASS-3568 |
| Description |
|
There are many reasons when a username may be incorrect. We catch those, but the error message we provide is misleading. For example, when a dot is used, we still say 'Username containing an unescaped at-sign" (see screenshot). Rephrase accordingly and make it clearer to the user. Perhaps, something along the lines of: "The username is invalid. Usernames can only contain ASCII letters, numbers, hyphens, and underscores, and should begin with a letter or number" |
| Comments |
| Comment by Massimiliano Marcon [ 01/Aug/19 ] |
|
For the time being, we solved with bubbling up the error the node driver returns. Not always user friendly but much more clear than what we used to have |
| Comment by Paul Spreen [ 19/Sep/18 ] |
|
In my case, my User Name is my email address (a common approach I dare day) and consequently I cannot connect with Compass due to the illegal at-sign. This presents an ugly inconsistency between the database and the database viewer and makes me nervous and anxious as I explore the integrity of mongoDB offering. I think my recourse is to add a new user or start over with a new account, if that is even possible using the same email address. We shall see... |