← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1733207] [NEW] BatchAction displays error messages twice

 

Public bug reported:

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.

** Affects: horizon
     Importance: Low
     Assignee: Akihiro Motoki (amotoki)
         Status: New


** Tags: error-reporting

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1733207

Title:
  BatchAction displays error messages twice

Status in OpenStack Dashboard (Horizon):
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1733207/+subscriptions


Follow ups