{ "id": "65762", "key": "TIMOB-4215", "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": "11363", "description": "Mobile 1.8.0 M10", "name": "Sprint 2011-31", "archived": true, "released": true, "releaseDate": "2011-08-08" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-09T10:58:02.000+0000", "created": "2011-05-25T07:18:51.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [ { "id": "14413", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "84408", "key": "TIDOC-49", "fields": { "summary": "APIDoc: Filesystem - document applicationDirectory and applicationSupportDirectory as iOS-only and deprecated (to be moved)", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "13935", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "62428", "key": "TIMOB-1796", "fields": { "summary": "Android: Ti.Filesystem.tempDirectory unimplemented", "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": "Trivial", "id": "5" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2012-01-09T10:58:02.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": "The KitchenSink [filesystem.js|https://github.com/appcelerator/titanium_mobile/blob/master/demos/KitchenSink/Resources/examples/filesystem.js] indicates that the tempDirectory and applicationDirectory properties have not been implemented or are not working for Titanium.Filesystem.File.\r\n\r\nThis has been tested with the above environment, with the following results observed:\r\n\r\n{code}\r\n(kroll$6: app://examples/filesystem.js) [1,5659404] Temp Directory :undefined\r\n(kroll$6: app://examples/filesystem.js) [4,5659408] Application Directory :null\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: Implement missing Titanium.Filesystem tempDirectory and applicationDirectory properties", "creator": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "environment": "Android 2.2, Titanium 1.7.0 (2011/05/18 14:34 87fe3f...)", "comment": { "comments": [ { "id": "134238", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "See TIMOB-3041 for missing applicationSupportDirectory property issue", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-05-25T07:21:55.000+0000", "updated": "2011-05-25T07:21:55.000+0000" }, { "id": "158905", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "Customer is reporting this as well. HD Ticket: [http://support.appcelerator.com/tickets/9659]", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2011-07-07T08:28:20.000+0000", "updated": "2011-07-07T08:28:20.000+0000" }, { "id": "161147", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "application directory is a iOS property that does not apply and actually mentioned in the Filesystem parity spec: http://wiki.appcelerator.org/display/spe/Filesystem+Behavior+Parity", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-07-29T10:27:34.000+0000", "updated": "2011-07-29T10:27:34.000+0000" }, { "id": "173291", "author": { "name": "programming@dbswebsite.com", "key": "programming@dbswebsite.com", "displayName": "Hal Burgiss", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If this was fixed, there is regression:\r\n\r\nI/TiAPI ( 341): (kroll$1: app://app.js) [510,3251] Ti.Filesystem.tempDirectory: undefined\r\n\r\nThat's a clean 'New' project with 1.7.6.v20111114104114. I've tried two or three recent SDK versions and can't find one that works as expected.", "updateAuthor": { "name": "programming@dbswebsite.com", "key": "programming@dbswebsite.com", "displayName": "Hal Burgiss", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-18T10:46:04.000+0000", "updated": "2011-11-18T10:46:04.000+0000" }, { "id": "173305", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The fix will be in 1.8.0. The fixVersion on the ticket says where the fix will be.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-18T11:25:40.000+0000", "updated": "2011-11-18T11:25:40.000+0000" }, { "id": "175549", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on Ti Studio 1.0.7.201112080131\r\n
Ti Mob SDK 1.8.0.1.v20111209011840\r\n
OSX Lion\r\nNexus S OS 2.3.6\r\n\r\nExpected behavior of a tempDirectory property is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-09T10:42:38.000+0000", "updated": "2011-12-09T10:42:38.000+0000" }, { "id": "177790", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Verified with the official release of 1.8.0.1:\r\napplicationDirectory: null (as expected, as it's an iOS-only feature. See linked ticket)\r\ntempDirectory returns path (as expected)", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-02T16:45:25.000+0000", "updated": "2012-01-02T16:45:25.000+0000" }, { "id": "178522", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Open to update label\r\n", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-09T10:57:51.000+0000", "updated": "2012-01-09T10:57:51.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }