{ "id": "97840", "key": "TIMOB-10107", "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": "13870", "description": "", "name": "Sprint 2012-16 API", "archived": true, "released": true, "releaseDate": "2012-08-13" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-13T18:44:47.000+0000", "created": "2012-07-23T17:24:51.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "module_filesystem", "qe-review", "qe-testadded" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:55.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": "I'm getting the build error when accessing a multi lingual filename. Please find the error logs attached.\r\nh4. Repo Steps\r\n1. Run the below code in the app.js \r\n2. Include the attached pdf file to the resources directory.\r\n\r\n{code}\r\nTitanium.UI.setBackgroundColor('#000');\r\n //creating the window\r\n var win1 = Titanium.UI.createWindow({\r\n title:'win 1',\r\n backgroundColor:'#fff'\r\n });\r\n //add window - navigation bar\r\n var modalWin = Ti.UI.createWindow();\r\n //nav bar\r\n var navmodal = Ti.UI.iPhone.createNavigationGroup({\r\n window:modalWin\r\n });\r\n win1.add(navmodal);\r\n //button for the nav bar\r\n var b2t = Titanium.UI.createButton({\r\n title:'Launch'\r\n });\r\n modalWin.RightNavButton = b2t;\r\n //button for the window\r\n var b1t = Titanium.UI.createButton({\r\n title:'Launch',\r\n height:40,\r\n width:200,\r\n top:270\r\n });\r\n win1.add(b1t);\r\n //Setting up the documentviewer\r\n var filename = Titanium.Filesystem.getFile('網上廣東話輸入法.pdf');\r\n z = Ti.UI.iPad.createDocumentViewer({url:filename.nativePath});\r\n //documentviewer with animation set on and a quicklook view poping up next to a view\r\n b1t.addEventListener('click', function(){z.show({animated:false,view:b2t});});\r\n //documentviewer with animation set off\r\n b2t.addEventListener('click', function(){z.show();});\r\n win1.open();\r\n{code}", "attachment": [ { "id": "29983", "filename": "build.log", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-23T17:24:51.000+0000", "size": 38965, "mimeType": "text/plain" }, { "id": "29982", "filename": "網上廣東話輸入法.pdf", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-23T17:24:51.000+0000", "size": 3850652, "mimeType": "application/pdf" } ], "flagged": false, "summary": "iOS: Build error while accessing the multi lingual filename", "creator": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 5 \r\nTitanium Studio, build: 2.0.2.201205311912", "comment": { "comments": [ { "id": "209202", "author": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Associated HD ticket: appc.me/c/APP-827376\r\nAlso, app crashes when the filename has spaces.", "updateAuthor": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-24T14:23:49.000+0000", "updated": "2012-07-24T14:23:49.000+0000" }, { "id": "213928", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull pending https://github.com/appcelerator/titanium_mobile/pull/2717", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-10T17:38:50.000+0000", "updated": "2012-08-10T17:38:50.000+0000" }, { "id": "214246", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull merged.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-13T18:44:47.000+0000", "updated": "2012-08-13T18:44:47.000+0000" }, { "id": "214370", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix with:\r\nTitanium Studio, build: 2.1.1.201207271312\r\nTitanium SDK: 2.2.0.v20120813184911\r\nDevices:\r\niPhone 4s 5.0.1\r\niPad1 5.1.1\r\nSimulator 5.1\r\nMac osx 10.8 Mountain Lion\r\n\r\nNote: z = Ti.UI.iPad.createDocumentViewer({url:filename.nativePath});\r\nI changed Ti.UI.iPad. for Ti.UI.iOS. in the test code to close this issue against iOS devices.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T11:16:50.000+0000", "updated": "2012-08-14T11:20:34.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }