Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6003] iOS: Kitchensink - Platform>XHR>File download, "Set Web View (URL)" button should render PDF but does not

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionCannot Reproduce
Resolution Date2011-11-06T14:44:07.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sRelease 1.8.0
ComponentsiOS
Labelsios110211, regression
ReporterEric Merriman
AssigneeStephen Tramer
Created2011-11-04T15:01:37.000+0000
Updated2014-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

Comments

  1. Stephen Tramer 2011-11-06

    Unable to reproduce in 1.8.0.994c222 on iPhone sim 4.3/5.0 or iPhone 4S 5.0.
  2. Michael Pettiford 2012-01-10

    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

JSON Source