{ "id": "120785", "key": "AC-2429", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-04T06:37:54.000+0000", "created": "2013-10-03T22:55:45.000+0000", "labels": [ "3.1.3", "error", "imageview", "ios7", "xcode5" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:28.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I think this also happens with iOS6, 3.1.2 GA and Xcode 4.\r\n\r\nCreated an image view with very weird url:\r\n\r\nhttp://pastebin.com/fgdsAy8R\r\n\r\nError is being thrown:\r\n\r\nhttp://pastebin.com/fjg3c2QM\r\n\r\n\r\nIs there a way gracefully just ignore this and continue to execute logic? It just stops execution of other logics.", "attachment": [], "flagged": false, "summary": "Weird image url causes execution to stop", "creator": { "name": "reyjexter", "key": "reyjexter", "displayName": "Rey Bumalay", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "reyjexter", "key": "reyjexter", "displayName": "Rey Bumalay", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "3.1.3 GA, iOS 7, Xcode 5", "comment": { "comments": [ { "id": "273789", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello Rey Bumalay,\n\nI have test this issue with provided test code. I got this bug for image URL. But when I encode this URL then it works well for me. In your image URL, have lot of spaces and special characters that why its not works properly. \n\n*My testing environment follows:*\n\n\nOS: MAC OX X 10.8.5\niOS SDK: 7.0,Xcode 5\niOS Simulator: 6.0\nTi SDK: 3.1.2 GA,3.1.3 GA\nTi CLI: 3.1.2\n \n*My test code*\n{code}\nvar win = Ti.UI.createWindow({\n\tbackgroundColor : '#ffffff'\n});\n\nvar imageView = Ti.UI.createImageView({\n\twidth : 200,\n\theight : 200,\n\timage : encodeURI(\"http://api.referron.com.s3.amazonaws.com/imageuploads/8d04106b-062a-4faa-a881-11df29848d15c:/dwasfiles/sites/referron-production-dashboard/virtualdirectory0/site/wwwroot/temp_upload/screen shot 2013-10-03 at 11.41.06 pm.png\")\n});\nwin.add(imageView);\n\nwin.open(); {code}\n\n\nThanks\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2013-10-04T06:37:29.000+0000", "updated": "2013-10-04T06:37:29.000+0000" }, { "id": "284970", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this since we have not got any response back from Rey.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-18T05:39:44.000+0000", "updated": "2013-12-18T05:39:44.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }