Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6915] iOS: Mimetype information is inadequate / misleading

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-01-23T16:15:05.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sSprint 2012-01, Release 2.0.0, Release 1.8.1
ComponentsiOS
Labelsn/a
ReporterStephen Tramer
AssigneeVishal Duggal
Created2011-12-28T16:14:21.000+0000
Updated2012-02-10T10:44:57.000+0000

Description

Currently, iOS' Mimetype.m mimetype processor does not recognize all of the available mimetypes for the device - in particular, it does not identify "mp4" correctly as of mimetype class "video" (or as anything, for that matter). We need to either upgrade this file to accurately map mimetypes or use internal support from the OS for mimetype ID. Part of this ticket should be creating a drillbit test to check for valid mimetypes of a subset of common files which the user may be performing operations on.

Comments

  1. Stephen Tramer 2011-12-28

    Some of the issues in TIMOB-6667 being discussed in the comments are being caused by lack of adequate mimetype support.
  2. Vishal Duggal 2012-01-05

    Pull pending #1128
  3. Natalie Huynh 2012-01-13

    Tested with version=1.9.0 module_apiversion=2 timestamp=01/13/12 13:25 githash=5346604 with 5.0 and 4.3 simulator Ran Ti.Filesystem tests

JSON Source