Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-6003

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Cannot Reproduce
    • Affects Version/s: Release 1.8.0
    • Fix Version/s: Release 1.8.0
    • Component/s: iOS
    • Environment:

      Mac OS 10.7.2, Titanium Studio build: 1.0.6.201110251616, SDK 1.8.0.v20111101161253, iPad2 (iOS 4.3.5), iPhone 4s (iOS 5.0)

      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] <Notice>: [INFO] ONDATASTREAM1 - PROGRESS: 1
      Nov 4 15:53:46 unknown UIKitApplication:com.appcelerator.titanium[0xb9d2][3719] <Notice>: [INFO] IN ONLOAD
      Nov 4 15:53:46 unknown UIKitApplication:com.appcelerator.titanium[0xb9d2][3719] <Notice>: [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] <Notice>: [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

        Attachments

          Activity

            People

            • Assignee:
              stephentramer Stephen Tramer
              Reporter:
              emerriman Eric Merriman
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-5095
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code