[TIMOB-2443] Android: paths beginning with ./ are not recognised
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-18T23:09:03.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M01 |
Components | Android |
Labels | android, defect, release-1.6.0 |
Reporter | Paul Dowsett |
Assignee | Don Thorp |
Created | 2011-04-15T03:19:59.000+0000 |
Updated | 2011-04-18T23:09:04.000+0000 |
Description
Environment: android 1.5.X of 27th Nov.
Absolute and relative (like ../ etc) paths work as expected on Android, except for a relative path for the current directory, which begin ./
This behaviour is currently inconsistent with ios. It would be ideal if ./ was supported in android also.
To workaround the issue, omit the ./ , for example, url:'path/to/file' rather than url:'./path/to/file'.
Attachments
File | Date | Size |
---|---|---|
path_test_resources.zip | 2011-04-15T03:19:59.000+0000 | 1710 |
To QA:
The attached path_test_resources.zip are some files you can dump into a new project's Resources folder (it includes an app.js) and then run that project to see failcases and (when you install the fixes) success cases.) The failcases will generally cause runtime errors (failures to load files).
(from [7baf81bfcdd433a0992172cddf4f7795cd99451b]) [#2443 status:fixed-in-qa] Handle ./ in paths, add unit tests for it https://github.com/appcelerator/titanium_mobile/commit/7baf81bfcdd433a0992172cddf4f7795cd99451b"> https://github.com/appcelerator/titanium_mobile/commit/7baf81bfcdd4...
Titanium SDK version: 1.6.0 (01/04/11 08:01 e49700d) emulator (2.2) G1 (1.6)