{ "id": "170025", "key": "MOD-2371", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "19936", "name": "Release 6.3.0", "archived": false, "released": true }, { "id": "19948", "name": "Ti.Map iOS 2.12.1", "archived": false, "released": true }, { "id": "19949", "name": "Ti.Map iOS 3.0.1", "archived": false, "released": true } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-10-17T09:20:52.000+0000", "created": "2017-10-16T15:57:19.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-08-06T17:49:19.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": "13700", "name": "Map" } ], "description": "When opening a map view with multiple annotations rapidly clicking between them crashes the application. This was introduced in 2.12 version of ti.map and still and issue with 3.0.0. I have tested version 2.11 of ti.map and have been unable to recreate the issue.\r\n\r\nSteps to reproduce:\r\nCreate a window with a button, on button click open a window in a navigation flow with a map\r\nPopulate the map with pins/annotations\r\nSelect annotations and deselect them by clicking on map.\r\nthe application will crash on the 4 or 5 click.", "attachment": [], "flagged": false, "summary": "iOS: ti.map module crashes application when selecting different map annotations rapidly", "creator": { "name": "rlarmore@gmail.com", "key": "rlarmore@gmail.com", "displayName": "rlarmore@gmail.com", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rlarmore@gmail.com", "key": "rlarmore@gmail.com", "displayName": "rlarmore@gmail.com", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 959, "state": "closed", "name": "2017 Sprint 21 SDK", "startDate": "2017-10-08T20:38:15.130Z", "endDate": "2017-10-22T20:38:00.000Z", "completeDate": "2017-10-24T23:55:56.605Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "429147", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey there! Was it 2.12.0 or 2.12.1 / 2.12.2? If it was 2.12.0, the ticket causing it was TIMOB-24375, which is kind of unrelated. If it was MOD-2357, it would make more sense. We'll try to create a test-case for you if you are not able to provide one.\r\n\r\n*EDIT*: Reproducible with this test-case:\r\n{code:js}\r\nvar Map = require('ti.map');\r\n \r\nvar win = Titanium.UI.createWindow();\r\n\r\nvar ann = [];\r\n \r\nfor (var i = 0; i < 10; i++) {\r\n \r\n ann.push(Map.createAnnotation({\r\n title: 'Title',\r\n subtitle: 'subtitle',\r\n latitude: Math.random() * 10 + 40,\r\n longitude: Math.random() * 10,\r\n }));\r\n}\r\n \r\nvar mapview = Map.createView({\r\n annotations: ann\r\n \r\n});\r\n\r\nwin.add(mapview);\r\nwin.open();\r\n{code}\r\n\r\n*EDIT 2*: It's definitely 2.12.2 and [this commit|https://github.com/appcelerator-modules/ti.map/commit/e64d01021bf81078ca92df165426aeef28125487]. Not sure how to fix the race-condition so far, so this might need more time for investigation.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-16T16:58:57.000+0000", "updated": "2017-10-16T17:40:44.000+0000" }, { "id": "429149", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey there, would you mind to test [this build|https://www.dropbox.com/s/br7cgoh3xqe7tmc/ti.map-iphone-2.12.3.zip?dl=0] (2.1.3) and try to reproduce it? I was not anymore but would like to await your feedback before setting up the PR. Thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-16T18:00:58.000+0000", "updated": "2017-10-16T18:00:58.000+0000" }, { "id": "429176", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fixed in Ti.Map [2.12.3|https://github.com/appcelerator-modules/ti.map/releases/tag/ios-2.12.3] and [3.0.1|https://github.com/appcelerator-modules/ti.map/releases/tag/ios-3.0.1].", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-17T09:20:52.000+0000", "updated": "2017-10-17T09:20:52.000+0000" }, { "id": "440110", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:19.000+0000", "updated": "2018-08-06T17:49:19.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }