{ "id": "117354", "key": "TIMOB-14611", "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": "15935", "description": "2014 Sprint 06", "name": "2014 Sprint 06", "archived": true, "released": true, "releaseDate": "2014-03-28" }, { "id": "15938", "description": "2014 Sprint 06 Tooling", "name": "2014 Sprint 06 Tooling", "archived": true, "released": true, "releaseDate": "2014-03-28" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-03-27T21:39:59.000+0000", "created": "2013-07-18T21:19:03.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "mobileweb", "module_network", "qe-testadded" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [ { "id": "36144", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "128214", "key": "TIMOB-16712", "fields": { "summary": "Mobile Web: App fails to load on Windows Phone 8 (IE10) due to Ti.Filesystem calling unsupported xhr.overrideMimeType()", "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": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-07-25T22:06:47.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "When doing a file.read(), Titanium SDK executes the following command in local.js:\r\n\r\n{code:javascript}xhr.overrideMimeType('text/plain; charset=x-user-defined');{code}\r\n\r\noverrideMimeType is not supported in Internet Explorer and will break the app. to solve this, simply change the line to this:\r\n\r\n{code:javascript}if( xhr.overrideMimeType)\r\n{\r\n xhr.overrideMimeType('text/plain; charset=x-user-defined');\r\n}{code}\r\n\r\nI have modified the local copy of my SDK and verified that this does work.\r\n\r\nCreated Pull Request: https://github.com/appcelerator/titanium_mobile/pull/4460", "attachment": [], "flagged": false, "summary": "MobileWeb: Reading file contents is not compatible with IE", "creator": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "environment": "Windows 8, Internet Explorer 10, Titanium SDK 3.1.1 GA", "comment": { "comments": [ { "id": "292560", "author": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "body": "Are there any updates on this issue? How can we get this bug fix pushed into a build? Thanks!!", "updateAuthor": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "created": "2014-02-12T02:41:29.000+0000", "updated": "2014-02-12T02:41:29.000+0000" }, { "id": "298925", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Test case:\n\n{code}\nvar url = 'http://httpbin.org/post';\nvar client = Ti.Network.createHTTPClient({\n onload : function(e) {\n alert(\"SUCCESS\");\n },\n onerror : function(e) {\n alert(\"FAIL\");\n },\n timeout:5000\n});\nclient.open('POST', url);\nclient.send({files:Ti.Filesystem.getFile('textfile.txt').read()});\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-27T05:58:25.000+0000", "updated": "2014-03-27T05:58:25.000+0000" }, { "id": "299043", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "3_2_X_hybrid pull request: https://github.com/appcelerator/titanium_mobile/pull/5544", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-27T21:38:37.000+0000", "updated": "2014-03-27T21:38:37.000+0000" }, { "id": "299045", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Style cleanup:\nMaster pull request: https://github.com/appcelerator/titanium_mobile/pull/5545\n3_2_X_hybrid pull request: https://github.com/appcelerator/titanium_mobile/pull/5546", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-03-27T21:44:01.000+0000", "updated": "2014-03-27T21:44:01.000+0000" }, { "id": "306940", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-29T23:45:27.000+0000", "updated": "2014-05-29T23:45:27.000+0000" }, { "id": "307916", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~oromero] You should be able to test/close this now.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-06T22:50:22.000+0000", "updated": "2014-06-06T22:50:22.000+0000" }, { "id": "308720", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed.\r\nTested with:\r\nAppcelerator Studio, build: 3.3.0.20140611195\r\nTitanium SDK, build:3.3.0.v20140612101712\r\nTested the above code in IE and got \"SUCCESS\" alert.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-12T18:20:59.000+0000", "updated": "2014-06-12T18:20:59.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }