Hide Forgot
Description of problem: On create-route page and Import YAML/JSON page, User first upload a file by clicking "Browse" -> after content loaded on page -> click "Clear value" -> click Browse and upload the same file again. At the second time of uploading, file could not be uploaded successfully on Chrome 52, IE 11, Edge 25 & Safari 9.1. Only works for Firefox 48 Upload a different file at the second time, then give a third uploading the same file with the one uploaded first time will succeed Version-Release number of selected component (if applicable): openshift v1.3.0-alpha.3+7f59726 kubernetes v1.3.0+52492b4 etcd 2.3.0+git How reproducible: Always Steps to Reproduce: 1.1 Login and create a new project 1.2. Add to project -> Import YAML/JSON 1.3. Click "Browse", select one file and upload 1.4. After file content is loaded on page, click "Clear value", hit on "Browse" and upload the same file again 2.1 Create service and pod,download certificate for edge route # oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/routing/caddy-docker.json # oc create -f https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/routing/edge/service_unsecure.json # curl -k -O https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/routing/edge/route_edge-www.edge.com.crt 2.2 Click 'Create route' on Services page 2.3.Set TLS Termination with "Edge" 2.4.Click Browse to upload Certificate "route_edge-www.edge.com.crt" 2.5.After Certificate content is loaded, click "Clear value" 2.6.Click Browse to upload Certificate "route_edge-www.edge.com.crt" again Actual results: 1.4 File could not be uploaded the second time 2.6 "route_edge-www.edge.com.crt" was not uploaded the second time Expected results: 1.4 File should be uploaded successfully 2.6 File should be uploaded successfully Additional info:
Commit pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/0bb037fc428e3344d026e5ab49df74d3e2be5471 Bug 1374165: Unable to upload the same file the second time after clear in ace editor
Fix was merged into origin-web-console repository https://github.com/openshift/origin-web-console/commit/0bb037fc428e3344d026e5ab49df74d3e2be5471
Checked against latest origin-web-console(manually vendored, latest commit is b60172f) And tried the reproduce steps on Chrome 53, Firefox 49, IE 11, Edge 25, Safari 9.1, when upload the same file the second time, files could be uploaded successfully Move to VERIFIED