Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4314] Android: setBasicAuthentication and select html pulldowns fails

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-09-28T09:09:34.000+0000
Affected Version/sRelease 1.7.2
Fix Version/sSprint 2011-39, Release 1.8.0
ComponentsAndroid
Labelsmodule_network, qe-testadded
ReporterMatthew Apperson
AssigneeAllen Yeung
Created2011-05-19T09:30:59.000+0000
Updated2011-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();

Comments

  1. Paul Dowsett 2011-05-30

    Please include the date and hash of the 1.7.0 SDK tested.
  2. Matthew Apperson 2011-05-30

    version=1.7.0 timestamp=05/20/11 17:05 githash=7b2f4fa...
  3. Paul Dowsett 2011-05-30

    Are you able to create tickets directly in the main projects, Matt?
  4. Matthew Congrove 2011-08-11

    Bumping this ticket, upping priority to within release as per customer request.
  5. Natalie Huynh 2011-11-18

    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

JSON Source