{ "id": "172637", "key": "TIMOB-26578", "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": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-12-11T15:08:58.000+0000", "created": "2018-11-16T19:37:37.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "issuelinks": [ { "id": "57052", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "171845", "key": "TIMOB-26159", "fields": { "summary": "Windows: File.getDirectoryListing() returns empty array for file or non-existent directory.", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-12-12T12:36:09.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "There are a number of parity issues with the implementation of Ti.Filesystem.File#getDirectoryListing() on Windows, which can be seen in the tests now skipped there: \r\nhttps://github.com/appcelerator/titanium-mobile-mocha-suite/blob/master/Resources/ti.filesystem.file.test.js#L726-L746\r\n\r\nNamely that:\r\n- calling it for a file should return null\r\n- calling for a directory that does not exist should return null (returns empty array right now)\r\n\r\nThe other test (\"can access resource directory files\") may be failing due to Windows not appending a trailing separator while other platforms do? I tried with unix and windows separators and that didn't seem to fix it, so I don't think it's a separator mismatch issue.", "attachment": [], "flagged": false, "summary": "Windows: Missing trailing separator for directory in Ti.Filesystem.File#nativePath", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 1103, "state": "closed", "name": "2018 Sprint 25", "startDate": "2018-12-02T16:29:21.531Z", "endDate": "2018-12-16T16:29:00.000Z", "completeDate": "2018-12-15T02:33:24.870Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "444301", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The {{getDirectoryListring}} parity should have been fixed by TIMOB-26159.\r\n\r\nThe resource directory test are failing because of parity issue in {{nativePath}}.\r\n \r\nhttps://github.com/appcelerator/titanium_mobile_windows/pull/1332\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-12-06T05:47:48.000+0000", "updated": "2018-12-06T05:47:48.000+0000" }, { "id": "444485", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "*FR Passed*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2018-12-11T15:08:58.000+0000", "updated": "2018-12-11T15:08:58.000+0000" }, { "id": "444547", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket. Fix verified in SDK version: 8.0.0.v20181212023313.\r\n\r\nTest and other information can be found at:\r\nhttps://github.com/appcelerator/titanium_mobile_windows/pull/1332", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-12T12:36:01.000+0000", "updated": "2018-12-12T12:36:01.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }