Bug 927149

Summary: [Card239]The "Choose file" selector on adding alias page can not work on IPad2 and IPhone4S.
Product: OpenShift Origin Reporter: Yujie Zhang <yujzhang>
Component: WebsiteAssignee: Fabiano Franz <ffranz>
Status: CLOSED WONTFIX QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-25 11:08:02 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Yujie Zhang 2013-03-25 04:31:56 EDT
Description of problem:

Checked the adding alias page on IPad2 and IPhone4S, when clicking "Choose file" button, it will prompt window of choosing photos, not files.So it will not work for adding alias.

Version-Release number of selected component (if applicable):
devenv_2993

How reproducible:
always

Steps to Reproduce:
1.Visit openshift web console on IPad2 and IPhone4S
2.Create an application 
3.Go to the add alias page and click "Choose file"
  
Actual results:
It will prompt window of choosing photos, not files, so will not work for adding alias.

Expected results:

Adding alias should work corretly on IPad2 and IPhone4S.

Additional info:
Comment 1 Clayton Coleman 2013-03-25 09:30:37 EDT
Fabiano, what changes need to be made to the selection input to make this work?  If they are complicated we should have a discussion about whether we need to support this or not.  Uploading certs on an iphone is useful in the event that your cert expires and you get mailed a new one, but if it requires a lot of work to implement we will not support it.
Comment 2 Fabiano Franz 2013-03-25 11:03:12 EDT
I don't think this can be fixed. 

By architecture iOS does not expose a file system to the user so it wouldn't be possible to upload files in a web interface. Most apps do file upload/integration by syncing via iTunes, Dropbox or something similar. 

Safari on iOS 6 started supporting photo upload, which is now the default behavior for input type="file":

http://images.anandtech.com/doci/5987/DSC_7295.JPG
Comment 3 Fabiano Franz 2013-03-25 11:08:02 EDT
Will add a Knowledge Base entry for this.