{ "id": "141948", "key": "TIMOB-18271", "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": "2015-08-13T03:16:18.000+0000", "created": "2014-12-19T22:08:42.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-3.5.0" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [ { "id": "48393", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "149127", "key": "TIMOB-19215", "fields": { "summary": "Events on Map Annotation do not fire", "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": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T22:29:41.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": "h5. This is not a regression. \r\n||SDK||MAP MODULE||RESULT||\r\n|3.5.0.v20141219075715|2.2.0|Fail\r\n|3.4.1|2.0.6|Fail\r\n|3.5.0.v20141219075715|2.0.6|Fail\r\n|3.4.1|2.2.0|Fail\r\n\r\nh5.Description:\r\n1. Run the following code in your app.js:\r\n{code}\r\nvar MapModule = require('ti.map');\r\n\r\nvar win = Ti.UI.createWindow({});\r\n\r\nvar atlantaParams = {\r\n\tlatitude:33.74511,\r\n\tlongitude:-84.38993,\r\n\ttitle:\"Atlanta, GA\",\r\n\tsubtitle:'Atlanta Braves Stadium\\nfoo',\r\n\tanimate:true,\r\n\trightButton: Titanium.UI.iPhone.SystemButton.DISCLOSURE,\r\n\tmyid:3 // CUSTOM ATTRIBUTE THAT IS PASSED INTO EVENT OBJECTS\r\n};\r\n\r\natlantaParams.pincolor = MapModule.ANNOTATION_PURPLE;\r\n\r\nvar atlanta = MapModule.createAnnotation(atlantaParams);\r\n\r\nvar mapview = MapModule.createView({\r\n\tmapType: MapModule.NORMAL_TYPE,\r\n\tregion:{latitude:33.74511, longitude:-84.38993, latitudeDelta:0.5, longitudeDelta:0.5},\r\n\tanimate:true,\r\n\tregionFit:true,\r\n\tuserLocation:true,\r\n\tannotations:[atlanta]\r\n});\r\n\r\nmapview.addEventListener(\"click\", function(e) {\r\n\tvar info = '\\n';\r\n\t\r\n\tinfo += 'type: ' + e.type + '\\n';\r\n\tinfo += 'clicksource: ' + e.clicksource + '\\n';\r\n\tinfo += 'title: ' + e.title + '\\n';\r\n\tinfo += 'index: ' + e.index + '\\n';\r\n\tinfo += 'annotation: ' + e.annotation + '\\n';\r\n\tinfo += 'map: ' + e.map + '\\n';\r\n\tinfo += 'source: ' + e.source + '\\n';\r\n\t\r\n\tTi.API.info(info);\r\n\talert(info);\r\n});\r\n\r\nmapview.addAnnotation(atlanta);\r\n\r\nwin.add(mapview);\r\nwin.open();\r\n{code}\r\n2. Launch the app.\r\n3. Click on the annotation pin.\r\n4. Click on the annotation title & subtitle.\r\n\r\nh5.Actual Result:\r\n1. The click source for both annotation title & subtitle is shown as rightbutton in the alert.\r\n\r\nh5. Expected result:\r\n1. The click source when clicked on annotation title & subtitle should not be rightbutton.", "attachment": [], "flagged": false, "summary": "IOS: Clicking on annotation title & subtitle gives click source as rightbutton", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 3.4.1.201410281743\r\nTi SDK : 3.5.0.v20141219075715\r\nCLI : 3.4.1\r\nAlloy : 1.5.1 GA\r\nCode Processor : 1.1.1\r\nMAC Yosemite : 10.10\r\nIphone 5S - 8.0.2", "comment": { "comments": [ { "id": "359769", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-13T03:16:06.000+0000", "updated": "2015-08-13T03:16:06.000+0000" }, { "id": "414127", "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:29:41.000+0000", "updated": "2017-03-20T22:29:41.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }