The CurrentUserController.on_login_error handler fails when the error has no "message" key
Bug #828420 reported by
Roberto Alsina
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Single Sign On Client |
Fix Released
|
Medium
|
Roberto Alsina |
Bug Description
When recently experiencing a CredentialsError because of another bug (see LP: #828417), this handler failed because it expects the error dict to have a "message" key and it received one with a "error_message" instead.
Related branches
lp:~ralsina/ubuntu-sso-client/error_message_key
- Natalia Bidart (community): Approve
-
Diff: 237 lines (+143/-11)2 files modifiedubuntu_sso/qt/controllers.py (+32/-5)
ubuntu_sso/qt/tests/test_windows.py (+111/-6)
description: | updated |
Changed in ubuntu-sso-client: | |
status: | New → In Progress |
Changed in ubuntu-sso-client: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-sso-client: | |
assignee: | nobody → Roberto Alsina (ralsina) |
importance: | Undecided → Medium |
Changed in ubuntu-sso-client: | |
milestone: | none → 1.3.3 |
Changed in ubuntu-sso-client: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.