Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15824] Android: Complex/autogenerated remote image URLs fail, whereas simple URLs succeed

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-11-27T05:25:19.000+0000
Affected Version/sRelease 3.2.0
Fix Version/sn/a
ComponentsAndroid
Labelsqe-3.2.0, qe-closed-3.2.0
ReporterPragya Rastogi
AssigneeIngo Muschenetz
Created2013-11-26T07:33:47.000+0000
Updated2013-11-27T05:31:35.000+0000

Description

A complex url does not render.. whereas simple one does. Steps : 1. Run app using code below 2. Launch the test and check expected Actual: A complex url does not render.. whereas simple one does. Use commented code Expected: A window should open up and should show an image on the window.
var _window = Titanium.UI.createWindow();
var imageTest = Titanium.UI.createImageView({
	image : 'http://chart.apis.google.com/chart?cht=r&chs=200x200&chd=t:77,66,15,0,31,48,100,77%7C20,36,100,2,0,100&chco=FF0000,FF9900&chls=2.0,4.0,0.0%7C2.0,4.0,0.0&chxt=x&chxl=0:%7C0%7C45%7C90%7C135%7C180%7C225%7C270%7C315&chxr=0,0.0,360.0',
	//image:'KS_nav_ui.png', //use this to see image
	bottom : 50
});
_window.add(imageTest);

_window.open(); 

Comments

  1. Lokesh Choudhary 2013-11-26

    Ran the test on the following devices & the results are below : 1.)Nexus 5 (4.4) -- Not reproducible 2.)Sony Experia (4.1.2) -- Not reproducible 3.)Samsung Galaxy S4 (4.2.2) -- Not reproducible 4.)Samsung Galaxy S3 (4.0.4) -- Not reproducible 5.)Nexus 7 (4.3) -- Not reproducible I am able to see/get the image from the URL. I am not sure what does "complex URL" means here, might be the query parameters in the url. Environment: Appcel Studio : 3.2.0.201311221207 Ti SDK : 3.2.0.v20131122172908 Mac OSX : 10.8.5 Alloy : 1.3.0-alpha6 CLI - 3.2.0-alpha3
  2. Pragya Rastogi 2013-11-27

    Issue is not reproducible so marking same as Cannot reproduce. There were network issues yesterday which might be the reason. Verified with: OSX: 10.8.5 Appcelerator Studio: 3.2.0.201311221207 SDK: 3.2.0.v20131126144841 acs:1.0.8 alloy:1.3.0-alpha6 npm:1.3.2 titanium:3.2.0-alpha3 titanium-code-processo:1.1.0-alpha Device: Nexus 7 (v4.3)

JSON Source