Registration error message is not parsed

Bug #845083 reported by Alejandro J. Cura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Fix Released
High
Diego Sarmentero

Bug Description

When entering an invalid email, (for instance: "albundy@") the following error is shown on red text:

    Error: {'errtype': 'RegistrationError', u'email': u'Enter a valid e-mail address.'}

I've traced it thru all the ipc chain and it is a dict (as it should), up to the function _build_general_error_message in ubuntu_sso/qt/controllers.py, and it's this function that turns the whole dict into a string when it gives up trying to parse it.

Related branches

Revision history for this message
Alejandro J. Cura (alecu) wrote :
Changed in ubuntu-sso-client:
importance: Undecided → Low
importance: Low → Medium
Changed in ubuntu-sso-client:
status: New → Triaged
assignee: nobody → Diego Sarmentero (diegosarmentero)
importance: Medium → High
Changed in ubuntu-sso-client:
status: Triaged → In Progress
Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Maybe this is dup of bug #845735?

Changed in ubuntu-sso-client:
status: In Progress → Fix Committed
tags: added: u1-windows
Changed in ubuntu-sso-client:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.