BatchAction displays error messages twice
Bug #1733207 reported by
Akihiro Motoki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Low
|
Akihiro Motoki |
Bug Description
If action() in BatchAction displays an error message to describe some detail reason of a failure, a user will get multiple error messages: the detail error message and "Unable to <action> <object>".
This is because BatchAction handle() always tries to display error message. We need more smart error message handling.
On the other hand, if there is no need to display a detail error message in action() of individual BatchAction instance, try/except should not be used.
Changed in horizon: | |
milestone: | queens-2 → queens-3 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/521381
Review: https:/