{ "id": "130802", "key": "AC-1039", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-05-22T22:55:37.000+0000", "created": "2014-05-22T21:09:52.000+0000", "labels": [ "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:22.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "if you mix annotations with and without left/rightButton property, you end up with inconsistent results on annotations created without said properties.\r\n\r\nThis is due to:\r\n\r\nif (left!=nil) {\r\nannView.leftCalloutAccessoryView = left;\r\n}\r\n\r\nif (right!=nil) {\r\nannView.rightCalloutAccessoryView = right;\r\n}\r\n\r\n\r\nTo fix this, you can change the code to:\r\n\r\nif (left!=nil) {\r\n annView.leftCalloutAccessoryView = left;\r\n } else {\r\n annView.leftCalloutAccessoryView = nil;\r\n }\r\n if (right!=nil) {\r\n annView.rightCalloutAccessoryView = right;\r\n } else {\r\n annView.rightCalloutAccessoryView = nil;\r\n }", "attachment": [], "flagged": false, "summary": "on IOS, Modules.Map.Annotation has a bug on left/rightButton", "creator": { "name": "manuxio", "key": "manuxio", "displayName": "Manuele Cappelleri", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "manuxio", "key": "manuxio", "displayName": "Manuele Cappelleri", "active": true, "timeZone": "Europe/Rome" }, "environment": "IOS, Ti.Map module", "comment": { "comments": [ { "id": "306142", "author": { "name": "manuxio", "key": "manuxio", "displayName": "Manuele Cappelleri", "active": true, "timeZone": "Europe/Rome" }, "body": "Please disregard. Wrong project!\r\nMy error.\r\n\r\nSorry 'about that!", "updateAuthor": { "name": "manuxio", "key": "manuxio", "displayName": "Manuele Cappelleri", "active": true, "timeZone": "Europe/Rome" }, "created": "2014-05-22T21:13:56.000+0000", "updated": "2014-05-22T21:13:56.000+0000" }, { "id": "306163", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "No problem! Resolving the ticket.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-22T22:55:37.000+0000", "updated": "2014-05-22T22:55:37.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }