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

Bug #1666606 reported by Daniel Castellanos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Won't Fix
Low
Unassigned

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

Revision history for this message
Richard Jones (r1chardj0n3s) wrote :

This is intended, to check whether the container name is already used. Note that it shouldn't check on every press if you type quickly, there's a delay (though it might be very short, it's also configurable).

Changed in horizon:
status: New → Invalid
status: Invalid → Won't Fix
importance: Undecided → Low
Revision history for this message
Daniel Castellanos (luis-daniel-castellanos) wrote :

noted, Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.