[2.0] No error message is displayed when failed to add a domain
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Unassigned | ||
2.0 |
Won't Fix
|
Critical
|
Unassigned |
Bug Description
Trying to add Domains via the WebUI that are duplicated result in not being able to add the domain, however, the issue is that NO error message is displayed. The error is displayed in the UI. This needs to be sanitized as well:
2016-02-25 20:11:12 [-] Error on request (195) domain.create: {"name": ["Domain with this Name already exists."]}
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
return target()
File "/usr/lib/
task()
File "/usr/lib/
task()
--- <exception caught here> ---
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
raise ValidationError
Changed in maas: | |
milestone: | none → 2.0.0 |
importance: | Undecided → High |
status: | New → Triaged |
summary: |
- No error message is displayed when failed to add a domain + [2.0] No error message is displayed when failed to add a domain |
tags: | added: error-surface |