{ "id": "105645", "key": "TIMOB-11887", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-04-02T01:22:49.000+0000", "created": "2012-11-28T23:30:12.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-and100112", "triage" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "35344", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "106605", "key": "TIMOB-12848", "fields": { "summary": "Android: Using the camera on certain devices causes the app to crash", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "23170", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "82097", "key": "TIMOB-5900", "fields": { "summary": "iOS5: Closing camera or gallery closes modal", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T22:42: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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Description:\r\nApp crashes after attempt to use/save a taken picture on Motorola RAZR i (Intel inside). Crash log is attached.\r\nTested on a device with the same Android version (Samsung Galaxy SIII 4.0.4) and on Nexus 10 (4.2) - the app does not crash.\r\n\r\nThis is not a regression, the same behavior occurs on 2.1.4 as well.\r\n\r\nSteps:\r\n1. Run the following code on Motorola RAZR i:\r\n{code}\r\nvar win1 = Ti.UI.createWindow(\r\n{\r\n title: \"window 1\"\r\n});\r\n \r\nvar button1 = Titanium.UI.createButton(\r\n{\r\n color: '#999',\r\n title: 'Launch Modal',\r\n width: '200dp',\r\n height: '60dp'\r\n});\r\n \r\nwin1.add(button1);\r\n \r\nbutton1.addEventListener(\"click\", function()\r\n{\r\n modal = Ti.UI.createWindow(\r\n {\r\n modal: true,\r\n title: \"modal\"\r\n });\r\n \r\n var cameraButton = Ti.UI.createButton(\r\n {\r\n title: \"camera\",\r\n top: \"50dp\",\r\n width: \"150dp\",\r\n height: \"60dp\"\r\n });\r\n modal.add(cameraButton);\r\n imageViewResize = Ti.UI.createImageView(\r\n {\r\n top: \"200dp\",\r\n height: \"200dp\",\r\n width: \"200dp\"\r\n });\r\n modal.add(imageViewResize);\r\n \r\n cameraButton.addEventListener(\"click\", function()\r\n {\r\n Titanium.Media.showCamera(\r\n {\r\n success: function(event)\r\n {\r\n imageViewResize.image = event.media;\r\n },\r\n \r\n error: function()\r\n {\r\n },\r\n \r\n cancel: function()\r\n {\r\n },\r\n \r\n saveToPhotoGallery: true,\r\n allowEditing: true,\r\n mediaTypes: [Ti.Media.MEDIA_TYPE_PHOTO],\r\n showControls: true\r\n });\r\n });\r\n modal.open();\r\n});\r\n \r\nwin1.open();\r\n{code}\r\n2. Click \"Launch Model\" then click \"Camera\" button\r\n3. Take a picture and press \"use/save\" button\r\n\r\nActual result:\r\nThe app crashes\r\n\r\nExpected:\r\nImage should appear on the screen and app should not crash", "attachment": [ { "id": "33740", "filename": "log.txt", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-28T23:30:12.000+0000", "size": 6029, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Media - Application crashes on Motorola RAZR i ", "creator": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested on: \r\nTitanium Studio, build: 3.0.0.201211271925 \r\nTitanium SDK, build: 3.0.0.v20121128131658\r\nDevices: Motorola RAZR i XT890 (4.0.4)", "comment": { "comments": [ { "id": "242416", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "device specific", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-15T09:35:46.000+0000", "updated": "2013-03-15T09:35:46.000+0000" }, { "id": "245113", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please watch TIMOB-12848. Let us know if you still have the issue after we solve 12848.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-02T01:22:49.000+0000", "updated": "2013-04-02T01:22:49.000+0000" }, { "id": "414138", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:42:35.000+0000", "updated": "2017-03-20T22:42:35.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }