{ "id": "62667", "key": "TIMOB-2035", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-07-13T18:41:51.000+0000", "created": "2011-04-15T03:08:43.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "extension", "filesystem" ], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-13T18:42:32.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}

Titanium.UI.createTempFile() creates a temp file without\nextension.

\n

On line 53 in FileSystemModule.java, the following is\nexecuted:
\nFile f = File.createTempFile(\"tifile\", \"tmp\");

\n

Should have been:
\nFile f = File.createTempFile(\"tifile\", \".tmp\");

{html}", "attachment": [], "flagged": false, "summary": "Titanium.UI.createTempFile() does not add extension properly", "creator": { "name": "cfenzo", "key": "cfenzo", "displayName": "cfenzo", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cfenzo", "key": "cfenzo", "displayName": "cfenzo", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "215639", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "No test case provided, unable to reproduce, ticket marked as invalid.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-08-22T12:02:15.000+0000", "updated": "2012-08-22T12:02:15.000+0000" }, { "id": "217312", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We should check the behavior based on the information provided.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-02T19:54:55.000+0000", "updated": "2012-09-02T19:54:55.000+0000" }, { "id": "424097", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and lack of progress for a number of years. Please open a new ticket if there are any problems.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-13T18:41:51.000+0000", "updated": "2017-07-13T18:41:51.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }