{ "id": "83085", "key": "AC-3002", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-02-21T14:34:23.000+0000", "created": "2011-11-27T05:54:17.000+0000", "labels": [ "tc-more-info" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:48:01.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "h2. Problem\r\n\r\nCannot open a photo gallery two times in a row\r\n\r\nh2. Test case\r\n\r\n* launch the following code from the iPad\r\n* hit a button - it'll open the gallery\r\n* close it by touching anywhere on the screen\r\n* re-hit the same button - the photo gallery won't open.\r\n\r\n{code:lang=javascript|title=app.js}\r\nvar win = Ti.UI.createWindow();\r\n\r\nb1 = Ti.UI.createButton({title:\"P gallery\",top:100,width:200,height:90});\r\nb2 = Ti.UI.createButton({title:\"P gallery\",top:200,width:200,height:90});\r\nwin.add(b1);\r\nwin.add(b2);\r\nb1.addEventListener('click',function(){\r\n alert(\"Opening the gallery\");\r\n Ti.Media.openPhotoGallery({success:function(f){alert(\"Success\");},\r\n mediaTypes:[Ti.Media.MEDIA_TYPE_PHOTO],\r\n allowEditing:true});\r\n \r\n});\r\n \r\nb2.addEventListener('click',function(){\r\n alert(\"Opening the gallery 2\");\r\n Ti.Media.openPhotoGallery({success:function(f){alert(\"Success\");},\r\n mediaTypes:[Ti.Media.MEDIA_TYPE_PHOTO],\r\n allowEditing:true});\r\n \r\n});\r\nwin.open();\r\n{code}\r\n\r\n\r\nh2. Discussions\r\n\r\nAsked on the Q&A and apparently it is a bug. - please provide the link\r\n", "attachment": [], "flagged": false, "summary": "iOS + iPad: Media - openPhotoGallery not working more than once", "creator": { "name": "creativepandas", "key": "creativepandas", "displayName": "Pablo Albrecht", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "creativepandas", "key": "creativepandas", "displayName": "Pablo Albrecht", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* iOS 5.0 (not sure) - please confirm the version\r\n* Titanium SDK 1.7.2\r\n* iPad - What happens in the simulator?\r\n", "comment": { "comments": [ { "id": "177642", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thanks for raising this ticket, Pablo\r\n\r\nWould you mind checking the fields for my comments, and completing the information. Then I will escalate it to the main project.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-29T14:23:51.000+0000", "updated": "2011-12-29T14:23:51.000+0000" }, { "id": "178094", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Pablo\r\n\r\nWould you mind providing the missing information so that I may escalate the issue?\r\n\r\nThanks", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-05T06:15:28.000+0000", "updated": "2012-01-05T06:15:28.000+0000" }, { "id": "178644", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Is this still a problem for you? Please provide the missing information, so that I may escalate it. \r\n\r\nThank you", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-10T06:10:28.000+0000", "updated": "2012-01-10T06:10:28.000+0000" }, { "id": "183854", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-02-21T14:34:23.000+0000", "updated": "2012-02-21T14:34:23.000+0000" }, { "id": "280931", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Closing since it's a dup. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-24T22:07:51.000+0000", "updated": "2013-11-24T22:07:51.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }