Bug on auto-filled filename on container upload in object storage page

Bug #1367673 reported by Ambroise CHRISTEA
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Undecided
Ambroise CHRISTEA

Bug Description

When you choose a file for the first time or without changing anything, the filename input is correctly filled with the chosen file's name.
But if, after choosing a file, you empty the filename input then choose another file, the input is not auto-filled anymore.

Test:

1) Go to object storage page and chose a container
2) Click on "Upload Object"
3) Choose a file to upload
(his name is correctly put in the filename input)
4) Empty the filename input
5) Choose another file to upload
Result : The filename input stays empty.

description: updated
Changed in horizon:
assignee: nobody → Ambroise CHRISTEA (ambroise-christea)
Changed in horizon:
status: New → In Progress
description: updated
Revision history for this message
Cindy Lu (clu-m) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/120387
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=a07147ed3ccad3642be3d93815aeb0611c8a1a0b
Submitter: Jenkins
Branch: master

commit a07147ed3ccad3642be3d93815aeb0611c8a1a0b
Author: Ambroise Christea <email address hidden>
Date: Wed Sep 10 13:38:02 2014 +0200

    Fix auto-fill on filename input.

    Add a condition in the if statement to check if the input is empty when a file
    has been chosen.

    Closes-Bug: 1367673
    Change-Id: I9cc1ef91bf85805ff057ced987b741736446c014

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → kilo-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-3 → 2015.1.0
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.