{ "id": "94590", "key": "TIMOB-10365", "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": "15107", "description": "2013 Sprint 09", "name": "2013 Sprint 09", "archived": true, "released": true, "releaseDate": "2013-05-06" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-05-03T06:19:19.000+0000", "created": "2012-07-09T08:27:17.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "exalture" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-17T18:46:29.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 trying to print an ImageView containing a vCard inside aQR Code generated by Google Charts. The URL for the QR Code is:\r\n\r\nhttp://chart.apis.google.com/chart?cht=qr&chs=300x300&chl=BEGIN:VCARD%0AVERSION:2.1%0AN:Ipsum;Lorem;;;%0AFN:Lorem%20Ipsum%0AORG:Company%20Ipsum%0ATITLE:Lorem%20Ipsum%20developer%0ATEL:555%20555%20555%0AEMAIL:vcard@exaple.net%0AEND:VCARD&chld=H|0\r\n\r\nAccessed via browser works fine (the content of the QR Code is a valid vCard). When used on the \"image\" attribute of the ImageView, content of the QR Code is not a valid vCard (it gets escaped values inside the QR Code).\r\n\r\nSample code:\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\nwin.add(Ti.UI.createImageView({\r\n image: 'http://chart.apis.google.com/chart?cht=qr&chs=300x300&chl=BEGIN:VCARD%0AVERSION:2.1%0AN:Ipsum;Lorem;;;%0AFN:Lorem%20Ipsum%0AORG:Company%20Ipsum%0ATITLE:Lorem%20Ipsum%20developer%0ATEL:555%20555%20555%0AEMAIL:vcard@exaple.net%0AEND:VCARD&chld=H|0',\r\n width: 300, height: 300\r\n}));\r\nwin.open();\r\n{code}\r\n\r\nExpected (and obtained when using the URL on browser):\r\n\r\n{code}\r\nBEGIN:VCARD\r\nVERSION:2.1\r\nN:ipsum;lorem;;;\r\nFN:Lorem Ipsum\r\nORG:Company Ipsum\r\nTITLE:Lorem Ipsum developer\r\nTEL:555 555 555\r\nEMAIL:vcard@exaple.net\r\nEND:VCA\r\n{code}\r\n\r\nResult:\r\n\r\n{code}\r\nBEGIN:VCARD%0AVERSION:2.1%0AN:Ipsum;Lorem;;;%0AFN:Lorem%20Ipsum%0AORG:Company%20Ipsum%0ATITLE:Lorem%20Ipsum%20developer%0ATEL:555%20555%20555%0AEMAIL:vcard@exaple.net%0AEND:VCARD\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Corrupted URL on image attribute for ImageView", "creator": { "name": "jghurtado", "key": "jghurtado", "displayName": "Juan G. Hurtado", "active": true, "timeZone": "Europe/Madrid" }, "subtasks": [], "reporter": { "name": "jghurtado", "key": "jghurtado", "displayName": "Juan G. Hurtado", "active": true, "timeZone": "Europe/Madrid" }, "environment": "SDK 2.1.0.GA\r\niOS 5\r\niPhone 4", "comment": { "comments": [ { "id": "207656", "author": { "name": "jghurtado", "key": "jghurtado", "displayName": "Juan G. Hurtado", "active": true, "timeZone": "Europe/Madrid" }, "body": "Any updates on this? Could you reproduce it? Need more info?", "updateAuthor": { "name": "jghurtado", "key": "jghurtado", "displayName": "Juan G. Hurtado", "active": true, "timeZone": "Europe/Madrid" }, "created": "2012-07-16T05:26:57.000+0000", "updated": "2012-07-16T05:26:57.000+0000" }, { "id": "207955", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Juan, \r\nAre you reporting this issue for android or iOS?", "updateAuthor": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-16T21:20:55.000+0000", "updated": "2012-07-16T21:20:55.000+0000" }, { "id": "207968", "author": { "name": "jghurtado", "key": "jghurtado", "displayName": "Juan G. Hurtado", "active": true, "timeZone": "Europe/Madrid" }, "body": "I've tested on iOS (sorry about not specifying), I don't know if it fails on Android.", "updateAuthor": { "name": "jghurtado", "key": "jghurtado", "displayName": "Juan G. Hurtado", "active": true, "timeZone": "Europe/Madrid" }, "created": "2012-07-16T23:02:41.000+0000", "updated": "2012-07-16T23:02:41.000+0000" }, { "id": "217373", "author": { "name": "jghurtado", "key": "jghurtado", "displayName": "Juan G. Hurtado", "active": true, "timeZone": "Europe/Madrid" }, "body": "Confirmed: It only fails on iOS.", "updateAuthor": { "name": "jghurtado", "key": "jghurtado", "displayName": "Juan G. Hurtado", "active": true, "timeZone": "Europe/Madrid" }, "created": "2012-09-04T03:47:25.000+0000", "updated": "2012-09-04T03:47:25.000+0000" }, { "id": "250054", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "cannot reproduce\r\n\r\nTested with\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0\r\niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-03T06:19:20.000+0000", "updated": "2013-05-03T06:19:20.000+0000" }, { "id": "413597", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-17T18:46:29.000+0000", "updated": "2017-03-17T18:46:29.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }