[TIMOB-4314] Android: setBasicAuthentication and select html pulldowns fails
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-09-28T09:09:34.000+0000 |
Affected Version/s | Release 1.7.2 |
Fix Version/s | Sprint 2011-39, Release 1.8.0 |
Components | Android |
Labels | module_network, qe-testadded |
Reporter | Matthew Apperson |
Assignee | Allen Yeung |
Created | 2011-05-19T09:30:59.000+0000 |
Updated | 2011-11-18T11:20:08.000+0000 |
Description
When setBasicAuthentication is used on a webview, select boxes no longer work.
This holds true for both remote, local, and inline html.
See the script below that demonstrates the issue.
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000')
var tabGroup = Titanium.UI.createTabGroup();
var win = Titanium.UI.createWindow({
title:'win_test'
});
var webView = Titanium.UI.createWebView({
html: '<select name="selectBox"><option value="val1">Value 1</option><option value="val2">Value 2</option><option value="val3">Value 3</option></select>'
});
win.add(webView);
//webView.url = 'test.html';
//thats the problem line
//webView.setBasicAuthentication('user','pass');
var tab = Titanium.UI.createTab({
icon:'',
title:'Test',
window:win
});
tabGroup.addTab(tab);
tabGroup.open();
Please include the date and hash of the 1.7.0 SDK tested.
version=1.7.0 timestamp=05/20/11 17:05 githash=7b2f4fa...
Are you able to create tickets directly in the main projects, Matt?
Bumping this ticket, upping priority to within release as per customer request.
Tested with 1.8.0.1.v20111118095655 on iPod 3g 4.0.2 iPad 2 4.3.5 iPhone 4s 5.0 Droid 3 2.3.4