{ "id": "60962", "key": "TIMOB-330", "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": [], "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": "2012-05-09T10:08:04.000+0000", "created": "2011-04-15T02:27:22.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-10T18:21:37.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": "{html}

A reference to a local file, for example <img\r\nsrc=\"/images/pic0.png\"> will correctly load the file\r\npic0.png from the .../Releases/images directory if set in the HTML\r\nat first page load, but if the location is changed dynamically in\r\nJS, the file will not be found and will fail to load. A relative\r\npath (<img src=\"images/pic0.png\") will succeed if\r\nthe images directory is in the same parent directory as the HTML\r\npage referencing it.

{html}", "attachment": [], "flagged": false, "summary": "android: dynamically update local urls fail with \"absolute\" paths", "creator": { "name": "danielsternbergh", "key": "danielsternbergh", "displayName": "Daniel Sternbergh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "danielsternbergh", "key": "danielsternbergh", "displayName": "Daniel Sternbergh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123113", "author": { "name": "dukz", "key": "dukz", "displayName": "dukz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Any timeline on this?

\n

Was looking for the problem and found out 2 hours later. :(

{html}", "updateAuthor": { "name": "dukz", "key": "dukz", "displayName": "dukz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:27:23.000+0000", "updated": "2011-04-15T02:27:23.000+0000" }, { "id": "194264", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "{code:title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\n/*\r\n These images can be downloaded from:\r\n - http://appc.me/content/bug.png\r\n - http://appc.me/content/kitten.jpg\r\n */\r\nvar images = [ '/images/bug.png', 'images/kitten.jpg' ];\r\nvar imageIndex = 0;\r\nvar image = Ti.UI.createImageView({\r\n image: images[0],\r\n bottom: 50\r\n});\r\nwin.add(image);\r\n\r\nvar changeImage = Ti.UI.createButton({\r\n title: 'Change Image',\r\n bottom: 0,\r\n height: 50\r\n});\r\nchangeImage.addEventListener('click', function (evt) {\r\n image.image = images[++imageIndex % images.length];\r\n});\r\nwin.add(changeImage);\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2012-05-09T10:08:04.000+0000", "updated": "2012-05-09T10:08:04.000+0000" }, { "id": "411226", "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-10T18:21:37.000+0000", "updated": "2017-03-10T18:21:37.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }