[TIMOB-6003] iOS: Kitchensink - Platform>XHR>File download, "Set Web View (URL)" button should render PDF but does not
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2011-11-06T14:44:07.000+0000 |
Affected Version/s | Release 1.8.0 |
Fix Version/s | Release 1.8.0 |
Components | iOS |
Labels | ios110211, regression |
Reporter | Eric Merriman |
Assignee | Stephen Tramer |
Created | 2011-11-04T15:01:37.000+0000 |
Updated | 2014-06-19T12:42:41.000+0000 |
Description
Description:
While testing KS, Platform>XHR>File download, I press "Set Web View (URL)", the progress bar filled, but no PDF was rendered. "Set web view (data)" did render the PDF as expected.
Console output:
Applications/53BEB878-3F6A-41EF-BD21-47F8EEE6E9BC/KitchenSink.app/examples/xhr_filedownload.js, resource: examples/xhr_filedownload_js
Nov 4 15:53:46 unknown UIKitApplication:com.appcelerator.titanium[0xb9d2][3719] : [INFO] ONDATASTREAM1 - PROGRESS: 1
Nov 4 15:53:46 unknown UIKitApplication:com.appcelerator.titanium[0xb9d2][3719] : [INFO] IN ONLOAD
Nov 4 15:53:46 unknown UIKitApplication:com.appcelerator.titanium[0xb9d2][3719] : [DEBUG] loading: /var/mobile/Applications/53BEB878-3F6A-41EF-BD21-47F8EEE6E9BC/Documents/test.pdf, resource: var/mobile/Applications/53BEB878-3F6A-41EF-BD21-47F8EEE6E9BC/Documents/test_pdf
Nov 4 15:53:46 unknown UIKitApplication:com.appcelerator.titanium[0xb9d2][3719] : [WARN] couldn't load URL: app://com.appcelerator.titanium/var/mobile/Applications/53BEB878-3F6A-41EF-BD21-47F8EEE6E9BC/Documents/test.pdf
This does not occur with 1.7.5 SDK
Steps to Reproduce:
1) Install KS 1.8.0 on device
2) Navigate to Platform>XHR>File download
3) Click on "Set Web View (URL)"
Result:
Progress bar fills but blank PDF
Expected result:
PDF Renders
Notes:
Does not occur with 1.7.5 SDK
Unable to reproduce in 1.8.0.994c222 on iPhone sim 4.3/5.0 or iPhone 4S 5.0.
Tested with Ti Studio 1.0.8.201201091758 Ti Mob SDK 1.8.0.1 OSX Lion iPhone 4S, iPad sim Expected behavior is shown