Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2035] Titanium.UI.createTempFile() does not add extension properly

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-07-13T18:41:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, extension, filesystem
Reportercfenzo
AssigneeIngo Muschenetz
Created2011-04-15T03:08:43.000+0000
Updated2017-07-13T18:42:32.000+0000

Description

Titanium.UI.createTempFile() creates a temp file without extension.

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

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

Comments

  1. Junaid Younus 2012-08-22

    No test case provided, unable to reproduce, ticket marked as invalid.
  2. Neeraj Gupta 2012-09-02

    We should check the behavior based on the information provided.
  3. Lee Morris 2017-07-13

    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.

JSON Source