← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1546758] [NEW] Inconsistent ordering for angular table actions

 

Public bug reported:

The horizon angular actions service uses $qExtensions.allSettled when
resolving permitted actions.  The allSettled method does not enforce
that the order of the pass and fail promise arrays are the same as the
original list of promises, and this can cause the order of the actions
to be inconsistent.  The order of the actions is actually determined by
the order in which they are resolved.  This causes actions I want to be
last in the menu (Delete) to sometimes show up as the default button
action.

** Affects: horizon
     Importance: Undecided
     Assignee: Justin Pomeroy (jpomero)
         Status: In Progress

** Changed in: horizon
     Assignee: (unassigned) => Justin Pomeroy (jpomero)

-- 
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/1546758

Title:
  Inconsistent ordering for angular table actions

Status in OpenStack Dashboard (Horizon):
  In Progress

Bug description:
  The horizon angular actions service uses $qExtensions.allSettled when
  resolving permitted actions.  The allSettled method does not enforce
  that the order of the pass and fail promise arrays are the same as the
  original list of promises, and this can cause the order of the actions
  to be inconsistent.  The order of the actions is actually determined
  by the order in which they are resolved.  This causes actions I want
  to be last in the menu (Delete) to sometimes show up as the default
  button action.

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


Follow ups