{ "id": "63075", "key": "TIMOB-2443", "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": "11234", "name": "Release 1.6.0 M01", "archived": true, "released": true, "releaseDate": "2010-12-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-18T23:09:03.000+0000", "created": "2011-04-15T03:19:59.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "defect", "release-1.6.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-18T23:09:04.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}

Environment: android 1.5.X of 27th Nov.

\n

Absolute and relative (like ../ etc) paths work as expected on\nAndroid, except for a relative path for the current directory,\nwhich begin ./

\n

This behaviour is currently inconsistent with ios. It would be\nideal if ./ was supported in android also.

\n

To workaround the issue, omit the ./ , for example,\nurl:'path/to/file' rather than url:'./path/to/file'.

{html}", "attachment": [ { "id": "18150", "filename": "path_test_resources.zip", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:19:59.000+0000", "size": 1710, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: paths beginning with ./ are not recognised", "creator": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "128481", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

To QA:

\n

The attached path_test_resources.zip are some files you can dump\ninto a new project's Resources folder (it includes an app.js) and\nthen run that project to see failcases and (when you install the\nfixes) success cases.) The failcases will generally cause runtime\nerrors (failures to load files).

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:20:00.000+0000", "updated": "2011-04-15T03:20:00.000+0000" }, { "id": "128482", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [7baf81bfcdd433a0992172cddf4f7795cd99451b])\n[#2443 status:fixed-in-qa] Handle ./ in paths,\nadd unit tests for it \nhttps://github.com/appcelerator/titanium_mobile/commit/7baf81bfcdd4...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:20:00.000+0000", "updated": "2011-04-15T03:20:00.000+0000" }, { "id": "128483", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Titanium SDK version: 1.6.0 (01/04/11 08:01 e49700d) emulator\n(2.2) G1 (1.6)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:20:01.000+0000", "updated": "2011-04-15T03:20:01.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }