{ "id": "141947", "key": "TIMOB-18270", "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": "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": "2016-10-18T12:53:06.000+0000", "created": "2014-12-19T21:54:34.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": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-31T22:43:13.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. Replace the app.js of your app with the code below:\r\n{code}\r\nvar MapModule = require('ti.map');\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar annotations = [];\r\n\r\nvar annotation = MapModule.createAnnotation({\r\n\tlatitude : 37.390749,\r\n\tlongitude : -122.08165,\r\n\ttitle : \"Annotation Test\",\r\n\tpincolor : MapModule.ANNOTATION_RED,\r\n\tanimate : true\r\n});\r\n\r\nannotations.push(annotation);\r\n\r\nvar map = MapModule.createView({\r\n\tmapType : MapModule.NORMAL_TYPE,\r\n\tregion : {\r\n\t\tlatitude : 37.390749,\r\n\t\tlongitude : -122.08165,\r\n\t\tlatitudeDelta : 0.5,\r\n\t\tlongitudeDelta : 0.5\r\n\t},\r\n\tanimate : false,\r\n\tregionFit : true,\r\n\tannotations : annotations\r\n});\r\n\r\nmap.addEventListener('click', function(e) {\r\n\talert(\"Click Source: \"+e.clicksource);\r\n});\r\n\r\nwin.add(map);\r\nwin.open();\r\n{code}\r\n2. Run on IOS device.\r\n3. Launch the application.\r\n4. Click on the annotation pin.\r\n\r\nh5.Actual Results:\r\n1. You will see the annotation popup with an alert clicksource: pin.\r\n2. Close the alert.\r\n3. With the annotation showing click anywhere on the map.\r\n4. You will see the annotation goes away & we get an alert clicksource: annotation.\r\n\r\nh5.Expected Result:\r\n1. We should not get any alert with clicksource:annotation when clicked anywhere on the map but the annotation.", "attachment": [], "flagged": false, "summary": "IOS : Clicking anywhere on the map with annotation showing, shows click source as annotation", "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": "399232", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Using Ti.Map 2.8.0 and Titanium SDK 5.5.1.GA / 6.0.0 Beta / 6.1.0 master, I cannot reproduce this behavior anymore. When I click on the annotation, the source is \"pin\", when I click outside, the source is \"map\" as expected.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-18T12:53:06.000+0000", "updated": "2016-10-18T12:53:06.000+0000" }, { "id": "416613", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Cannot Reproduce\", if you encounter any further problems please file a new ticket. ", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-31T22:43:13.000+0000", "updated": "2017-03-31T22:43:13.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }