{ "id": "62195", "key": "TIMOB-1563", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-04-15T02:56:10.000+0000", "created": "2011-04-15T02:56:09.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "defect", "ios", "iphone", "pdf", "webview" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:54:20.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

A customer reported the following issue, when a PDF is viewed in\na web view, a UTF8 error occurs.

\n

CODE:::
\nvar infoView = Titanium.UI.createScrollView({

\n
\n                                            top :               10,\n                                            left:               15,\n                                            right:              15,\n                                            bottom:             -8, \n                                            borderRadius:       appConfig.infoView.borderRadius,\n                                            borderColor:        appConfig.infoView.borderColor,\n                                            borderWidth:        appConfig.infoView.borderWidth,\n                                            backgroundGradient: appConfig.infoView.backgroundGradient,\n                                            backgroundColor:    '#FFF',\n\n                                            contentWidth:'auto',\n                                            contentHeight:'auto', \n                                            showVerticalScrollIndicator:true,\n                                            showHorizontalScrollIndicator:true\n                                        });\n\nvar webView = Titanium.UI.createWebView({\n                                            top :               5,\n                                            left:               5,\n                                            right:              5,\n                                            bottom:             10,  \n                                            height:'auto',\n                                            url:                \"../html/2009_pll_14_akutes_koronarsyndrom.pdf\",\n                                            backgroundColor:    'transparent',\n                                            loading: true\n                                        });\ninfoView.add(webView);                                          \nwinInfo.add(infoView);\n
{html}", "attachment": [], "flagged": false, "summary": "PDF in webview causes error, iOS 4, sdk 1.4", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126055", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Without the pdf, we're unable to recreate. Need a helpdesk\nticket or files in order to test.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:56:10.000+0000", "updated": "2011-04-15T02:56:10.000+0000" }, { "id": "411131", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this ticket as the request for more information has not been provided.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:54:20.000+0000", "updated": "2017-03-09T23:54:20.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }