[autoconfig] Wrong error msg: Says "Username or password invalid", although it could be any kind of error (verifyConfig)
Categories
(Thunderbird :: Account Manager, defect, P1)
Tracking
(blocking-thunderbird3.1 -)
Tracking | Status | |
---|---|---|
blocking-thunderbird3.1 | --- | - |
People
(Reporter: BenB, Assigned: BenB)
References
()
Details
(Whiteboard: [GS])
Attachments
(1 file, 7 obsolete files)
(deleted),
patch
|
BenB
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Updated•15 years ago
|
Assignee | ||
Updated•15 years ago
|
Assignee | ||
Comment 1•15 years ago
|
||
Assignee | ||
Updated•15 years ago
|
Comment 2•15 years ago
|
||
Assignee | ||
Updated•15 years ago
|
Assignee | ||
Comment 3•15 years ago
|
||
Assignee | ||
Updated•15 years ago
|
Assignee | ||
Comment 4•15 years ago
|
||
Comment 5•15 years ago
|
||
Assignee | ||
Comment 6•15 years ago
|
||
Assignee | ||
Updated•15 years ago
|
Comment 7•15 years ago
|
||
Assignee | ||
Comment 8•15 years ago
|
||
Comment 9•15 years ago
|
||
Assignee | ||
Comment 10•15 years ago
|
||
Comment 11•15 years ago
|
||
Assignee | ||
Comment 12•15 years ago
|
||
Assignee | ||
Comment 13•15 years ago
|
||
Assignee | ||
Comment 14•15 years ago
|
||
Assignee | ||
Updated•15 years ago
|
Comment 15•15 years ago
|
||
Comment 16•14 years ago
|
||
Assignee | ||
Comment 17•14 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Comment 18•13 years ago
|
||
Assignee | ||
Comment 19•13 years ago
|
||
Comment 20•13 years ago
|
||
Updated•13 years ago
|
Assignee | ||
Comment 21•13 years ago
|
||
Updated•10 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 22•5 years ago
|
||
The account creation dialog verifies the password before creating the account, by contacting the real server and attempting a login. The bug is that it always says "Verify username or password", it always blames the password, no matter what error there was. This is not only wrong and misleading for end users, because they hunt the wrong end. It's also dangerous, because they will re-attempt the password multiple times, then try other passwords, thereby exposing other passwords to the server.
This patch shows the real error message.
More specifically: If it's a wrong username or password, we maintain the same error message as before. If it's any other error, we show the real error message.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 24•5 years ago
|
||
We have most of the C++ source reformatted now. I've fixed a few issues here.
BTW, it should be r=Neil, no?
Comment 25•5 years ago
|
||
Actually, before we land this, can you explain why you added errorParameters
when that's not used.
Assignee | ||
Comment 26•5 years ago
|
||
can you explain why you added errorParameters when that's not used.
This allows to carry on additional error information from the server. It can be logged to help diagnosis. I didn't add the logging yet, but it's structurally important to have a place for extra information.
Assignee | ||
Comment 27•5 years ago
|
||
nsACString& aErrorCode -> nsACString &aErrorCode
Who decided on that code style change? That's just wrong. The "*" and the "&" goes with the type, not with the variable.
If somebody just now reformatted our codebase for the & to go with the variable instead of the type, they better revert that change.
See Mozilla code style guide https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style
SomeMap::GetValue(const nsString& key, nsString& value);
GetStringValue(nsAWritableCString& aResult)
const nsACstring& aStr,
mozilla::UniquePtr<const char*>&& aBuffer,
void DoSomething(nsIContent* aContent)
char* warning = GetStringValue();
nsISupports* aOptionalThing = nullptr)
Foo** aResult
Assignee | ||
Comment 28•5 years ago
|
||
Re *&, see bug 1546364 comment 28.
Assignee | ||
Comment 29•5 years ago
|
||
Comment 30•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/164c011c8985
[autoconfig] Show real error message during account verification. r=Neil
Updated•3 years ago
|
Description
•