{ "id": "90694", "key": "TIMOB-8854", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13405", "description": "Sprint 2012-09 API", "name": "Sprint 2012-09 API", "archived": true, "released": true, "releaseDate": "2012-05-06" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-04-30T15:31:09.000+0000", "created": "2012-04-20T14:21:04.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T23:13:35.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "The emailDialog does not show on iPad 3 iOS 5.1 but it works on iPad 2 iOS 5.0.1\r\n\r\nh4. Steps to reproduce:\r\nStep 1: run the code below on the iPad 3 iOS 5.1\r\nStep 2: click on the blue screen\r\nStep 3: notice that that email dialog does not open\r\nStep 4: repeat the same steps on the iPad 2 iOS 5.0.1 and it show the dialog\r\n\r\n{code:js}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'blue'\r\n});\r\nwin.addEventListener('click', function(){\r\n\tTi.API.info('Mail');\r\n\tvar emailDialog = Titanium.UI.createEmailDialog();\r\n\temailDialog.subject = \"Subject\";\r\n\temailDialog.messageBody = 'Hi,\\n'+'This is the body';\r\n\temailDialog.open();\r\n});\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: iPad - EmailDialog does not show up on device", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.8.2\r\nTiSDK 2.0.1\r\niPad 3 iOS 5.1", "comment": { "comments": [ { "id": "192762", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving out of core.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-26T10:18:58.000+0000", "updated": "2012-04-26T10:18:58.000+0000" }, { "id": "193156", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "don't have a iPad with me right now. So putting it back in the queue", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-30T10:35:12.000+0000", "updated": "2012-04-30T10:35:12.000+0000" }, { "id": "193201", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Can not reproduce on either master or 1_8_X with the test sample provided. My setup is with Xcode 4.3. \r\nWaiting for verification that this is not a setup issue (testing with Xcode 4.2) before marking issue as can not reproduce.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-30T15:01:07.000+0000", "updated": "2012-04-30T15:01:07.000+0000" }, { "id": "193212", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Can not reproduce. Probably occurring because there is no mail account on the device. In that case a complete event is fired with success false. Modify the sample as follows to test. If there is no account the error will be \"system can't send email\".\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'blue'\r\n});\r\nwin.addEventListener('click', function(){\r\n Ti.API.info('Mail');\r\n var emailDialog = Titanium.UI.createEmailDialog();\r\n emailDialog.subject = \"Subject\";\r\n emailDialog.messageBody = 'Hi,\\n'+'This is the body';\r\n emailDialog.open();\r\n \r\n emailDialog.addEventListener('complete',function(e){\r\n \tif(e.success)\r\n \t{\r\n \t\tTi.API.info(\"Mail Sent\");\r\n \t}\r\n \telse\r\n \t{\r\n \t\tTi.API.info(e.error);//\"system can't send email\" means no account on device\"\r\n \t}\r\n })\r\n});\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-30T15:31:09.000+0000", "updated": "2012-04-30T15:31:09.000+0000" }, { "id": "415223", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as this issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T23:13:35.000+0000", "updated": "2017-03-22T23:13:35.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }