{ "id": "112758", "key": "TIMOB-13545", "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": "15400", "description": "2013 Sprint 08 API", "name": "2013 Sprint 08 API", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15106", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-02-24T21:06:03.000+0000", "created": "2013-04-12T13:01:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "image", "imageview", "qe-testadded", "regression", "remoteURL" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "31674", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "119499", "key": "TIMOB-15044", "fields": { "summary": "Android:ImageView does not properly handle '@' symbol in URL", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-03-11T22:35:30.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Problem description*\r\nIf you set an image with a \"@\" in the path, the image won't be loaded. This is because getCleanUri thinking it's a domain address. Therefore the test on the hash will return false. So the image is downloaded but not drawn.\r\n\r\n*Repro notes*\r\nPaste the @2x URL in the browser to verify the URL is valid.\r\nUncomment cd-mini-graphic image to verify it working for standard images.\r\nOnly the URL with @2x doesn't work.\r\nWorks on iOS, not on Android.\r\n\r\n*Test case*\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar image = Ti.UI.createImageView({\r\n\tbottom : 0,\r\n\twidth : 200,\r\n\theight : 200,\r\n\tbackgroundColor : 'red',\r\n\timage : 'http://dl.dropboxusercontent.com/u/255893/appcelerator@2x.png'\r\n\t//image : 'http://www.appcelerator.com.s3.amazonaws.com/web/home/platform/cd-mini-graphic.png'\r\n});\r\n\r\nwin.add(image);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: ImageView: Remote image with \"@\" character doesn't display", "creator": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "environment": "titanium 3.2.0 master\r\nandroid 4.1", "closedSprints": [ { "id": 345, "state": "closed", "name": "2015 Sprint 04 SDK", "startDate": "2015-02-14T01:00:53.297Z", "endDate": "2015-03-01T01:00:00.000Z", "completeDate": "2015-02-28T15:39:43.652Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "247354", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed with Samsung Galaxy S2 Android 2.3.6, Ti SDK 3.1 CI.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-12T21:42:14.000+0000", "updated": "2013-04-12T21:42:14.000+0000" }, { "id": "247356", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Confirmed as regression between 2.1.4 GA and 3.0.2 GA.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-12T21:50:16.000+0000", "updated": "2013-04-12T21:50:16.000+0000" }, { "id": "247575", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4161", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-15T17:26:09.000+0000", "updated": "2013-04-15T17:26:09.000+0000" }, { "id": "248624", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "3_1_X PR: https://github.com/appcelerator/titanium_mobile/pull/4195", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-22T17:34:53.000+0000", "updated": "2013-04-22T17:34:53.000+0000" }, { "id": "250056", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Image is displayed. Working as expected.\r\n\r\nVerified on:\r\nTested on:\r\nDevice: Samsung Galaxy Note, Android version: 2.3.6\r\nSDK: 3.1.1.v20130502180055\r\nCLI version : 3.1.0\r\nOS : MAC OSX 10.7.5\r\nAppcelerator Studio, build: 3.1.0.201305020752\r\nXCode : 4.5.1", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-05-03T06:31:38.000+0000", "updated": "2013-05-03T06:31:38.000+0000" }, { "id": "330274", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Reopening the issue as it's not working as expected. The image is not loaded when the URL is containing the @2x symbol. The load event didn't get fire.\r\n\r\nVerified with below Environment with mentioned URL:-\r\nhttp://dl.dropboxusercontent.com/u/255893/appcelerator@2x.png\r\nTested on: \r\n1. Mac OSX Yosemite 10.10\r\n2. Appcelerator Studio, build: 3.4.1.201410281743\r\n3. Titanium SDK, build: 3.4.1.v20141028145715\r\n4. Titanium CLI, build: 3.4.1-dev\r\n5. Alloy: 1.5.1\r\n6.S Galaxy S5 with Android 4.4.2 / Nexus 4.2 with Android 4.2.1\r\n7. Android 5.0 API 21 and Android SDK Build-Tools 20\r\n\r\nFor Regression testing, I have verified the issue with \r\nTi SDK 3.4.0.GA and Ti SDK 3.3.0.GA.\r\nThe link didn't work with this Ti SDK too.So can't mark it as Regression.\r\n\r\n\r\n\r\n", "updateAuthor": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-11-03T07:53:42.000+0000", "updated": "2014-11-03T07:53:42.000+0000" }, { "id": "330276", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "body": "Added load event code with the above test code.\r\n{code}\r\nimage.addEventListener('load', function(e){\r\n\t\t Ti.API.info(\"---------image is loaded ----------------- \");\r\n\t });\r\n{code}", "updateAuthor": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-11-03T08:00:10.000+0000", "updated": "2014-11-03T08:02:01.000+0000" }, { "id": "338917", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-13T19:09:18.000+0000", "updated": "2015-02-13T00:38:39.000+0000" }, { "id": "345746", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed using:\r\n\r\nTitanium SDK 4.0.0.v20150311105810\r\nStudio 4.0.0.201503062102\r\nCLI 3.4.2\r\nXcode 6.2\r\nNode 0.10.36\r\n\r\nOn: Galaxy Note 2, Android 4.3\r\n\r\nCorrectly displayed remote image with '@' in title.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-11T22:35:30.000+0000", "updated": "2015-03-11T22:35:30.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }