{ "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.
\nAbsolute and relative (like ../ etc) paths work as expected on\nAndroid, except for a relative path for the current directory,\nwhich begin ./
\nThis behaviour is currently inconsistent with ios. It would be\nideal if ./ was supported in android also.
\nTo workaround the issue, omit the ./ , for example,\nurl:'path/to/file' rather than url:'./path/to/file'.
To QA:
\nThe 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).
(from [7baf81bfcdd433a0992172cddf4f7795cd99451b])\n[#2443 status:fixed-in-qa] Handle ./ in paths,\nadd unit tests for it \nhttps://github.com/appcelerator/titanium_mobile/commit/7baf81bfcdd4...
Titanium SDK version: 1.6.0 (01/04/11 08:01 e49700d) emulator\n(2.2) G1 (1.6)