Entering invalid email address shows no error in the UI but a popup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Single Sign On Client |
Fix Released
|
High
|
Alejandro J. Cura |
Bug Description
I filled in the sign in registration form using "ffff@" as email address, and the UI form did not complain about it. When I submitted the info, the backend failed with this trace:
2011-07-18 18:24:05,
2011-07-18 18:24:05,
and the UI showed no error message to me.
Related branches
- Roberto Alsina (community): Approve
- Natalia Bidart (community): Approve
-
Diff: 453 lines (+110/-125)2 files modifiedubuntu_sso/main/tests/test_windows.py (+104/-113)
ubuntu_sso/main/windows.py (+6/-12)
Changed in ubuntuone-windows-installer: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Roberto Alsina (ralsina) |
tags: | added: u1-zomg-windows |
summary: |
- Entering invalid email address shows no error in the UI + Entering invalid email address shows no error in the UI but a popup |
affects: | ubuntuone-windows-installer → ubuntu-sso-client |
Changed in ubuntu-sso-client: | |
assignee: | Roberto Alsina (ralsina) → Natalia Bidart (nataliabidart) |
Changed in ubuntu-sso-client: | |
assignee: | Natalia Bidart (nataliabidart) → Alejandro J. Cura (alecu) |
Changed in ubuntu-sso-client: | |
status: | Triaged → Fix Committed |
tags: | added: u1-windows |
Changed in ubuntu-sso-client: | |
status: | Fix Committed → Fix Released |
Tried it and got this error on SSO:
2011-08-29 16:44:05, 490:490. 999937057 - ubuntu_ sso.main. windows - DEBUG - SSOLogin: emitting UserRegistratio nError with app_name "Ubuntu One" and error {'errtype': 'RegistrationEr ror', u'email': u'Enter a valid e-mail address.'} lib\site- packages\ qtreactor\ qt4reactor. py", line 231, in _iterate runUntilCurrent () lib\site- packages\ twisted\ internet\ base.py" , line 762, in runUntilCurrent lib\site- packages\ twisted\ internet\ defer.py" , line 388, in errback _startRunCallba cks(fail) lib\site- packages\ twisted\ internet\ defer.py" , line 455, in _startRunCallbacks _runCallbacks( ) lib\site- packages\ twisted\ internet\ defer.py" , line 542, in _runCallbacks current. result, *args, **kw) ROBERTO\ canonical\ ubuntu- sso-client\ ubuntu_ sso\main\ windows. py", line 126, in <lambda> to_errdict( err.value) ), app_name) ROBERTO\ canonical\ ubuntu- sso-client\ ubuntu_ sso\main\ windows. py", line 240, in emit_user_ registration_ error to_errdict( raised_ error.value) ) AttributeError: 'dict' object has no attribute 'value'
Unhandled error in Deferred:
Traceback (most recent call last):
File "C:\Python27\
self.
File "C:\Python27\
f(*a, **kw)
File "C:\Python27\
self.
File "C:\Python27\
self.
--- <exception caught here> ---
File "C:\Python27\
current.result = callback(
File "c:\Users\
error_cb(app, except_
File "c:\Users\
except_
exceptions.