← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1666606] [NEW] Swift create container modal making calls to api on input "key press" event

 

Public bug reported:

The Create container modal in swift UI is making calls to the API on
each Key press when typing in the container name.

Steps to reproduce:

1. Go to Object Store -> Containers
2. click on Create container
3. open the Development tools window (Chrome on MAC Command+Alt+I)
4. Go to the network tab
5. type the name of the container

Result:

See how the calls to the "/api/swift/containers/<any character(s)>/metadata/" begin to stack up
with each key press

Expected Result:
Not sure if this is a desired behavior in order to check the existence of a container, so this might not be a bug after all

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: angularjs swift

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

Title:
  Swift create container modal making calls to api on input "key press"
  event

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  The Create container modal in swift UI is making calls to the API on
  each Key press when typing in the container name.

  Steps to reproduce:

  1. Go to Object Store -> Containers
  2. click on Create container
  3. open the Development tools window (Chrome on MAC Command+Alt+I)
  4. Go to the network tab
  5. type the name of the container

  Result:

  See how the calls to the "/api/swift/containers/<any character(s)>/metadata/" begin to stack up
  with each key press

  Expected Result:
  Not sure if this is a desired behavior in order to check the existence of a container, so this might not be a bug after all

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


Follow ups