{ "id": "170452", "key": "MOD-2374", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-05-20T06:37:42.000+0000", "created": "2017-11-24T21:11:14.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ios", "ti.map" ], "versions": [], "issuelinks": [], "assignee": { "name": "vgoyal", "key": "vgoyal", "displayName": "Vikas Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-05-20T06:37:42.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 updating a large number of annotations, the application closes without any message.\r\n\r\nI attached an example, after 2 or 3 click on the update button, the app will crash.\r\n", "attachment": [ { "id": "63691", "filename": "map_ios_crash.js", "author": { "name": "gaspard.le", "key": "gaspard.le", "displayName": "Luc-Edmond Gaspard ", "active": true, "timeZone": "America/Montreal" }, "created": "2017-11-24T20:54:41.000+0000", "size": 1334, "mimeType": "text/plain" }, { "id": "67405", "filename": "MOD-2374_log.txt", "author": { "name": "srai", "key": "srai", "displayName": "Saumya Rai", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-05-20T06:37:30.000+0000", "size": 40284, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: Ti.Map - Crash when updating multiple annotations", "creator": { "name": "gaspard.le", "key": "gaspard.le", "displayName": "Luc-Edmond Gaspard ", "active": true, "timeZone": "America/Montreal" }, "subtasks": [], "reporter": { "name": "gaspard.le", "key": "gaspard.le", "displayName": "Luc-Edmond Gaspard ", "active": true, "timeZone": "America/Montreal" }, "environment": "Ti.Map 3.0.1\r\nTitanium Sdk 6.3.0\r\niOS 11", "closedSprints": [ { "id": 1195, "state": "closed", "name": "2020 Sprint 10", "startDate": "2020-05-08T16:37:58.282Z", "endDate": "2020-05-22T16:37:00.000Z", "completeDate": "2020-05-21T15:26:11.089Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "431241", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, This is a valid bug, I was able to reproduce the issue with Map 3.0.1 version in SDK 6.3.0.GA in iOS 11 Simulator. The app crash with updating annotation without showing any error in the log. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-11-24T22:01:35.000+0000", "updated": "2017-11-24T22:01:35.000+0000" }, { "id": "431271", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I just validated the issue and it was never supposed to work in the past as well. The reason is because (different to Android), iOS annotations cannot change their latitude / longitude but should re-add the annotations to redraw the map. This may work for a few annotations where Titanium tries to re-append each of them, but it was never implemented to work for multiple annotations, as the re-adding will occur for each latitude / longitude setter, so in this case 600 times.\r\n\r\nWe can consider supporting this, but until now, re-add the annotations with the updated location properties.\r\n\r\nRead more about this common native iOS behavior here:\r\n - https://stackoverflow.com/questions/14131345/ios-refresh-annotations-on-mapview ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-11-26T12:52:39.000+0000", "updated": "2017-11-26T12:52:39.000+0000" }, { "id": "455159", "author": { "name": "vgoyal", "key": "vgoyal", "displayName": "Vikas Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator-modules/ti.map/pull/292", "updateAuthor": { "name": "vgoyal", "key": "vgoyal", "displayName": "Vikas Goyal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-16T15:34:54.000+0000", "updated": "2020-04-16T15:34:54.000+0000" }, { "id": "455519", "author": { "name": "srai", "key": "srai", "displayName": "Saumya Rai", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified on below environment:\r\n*Mac OS X *= 10.15\r\n*Node.js Version* = 12.16.0\r\n*CLI Version* = 5.2.2\r\n*iOS Simulator* = iPhone 11 Pro Max\r\n*iOS Version* = 13.3\r\n*Xcode*=11.3.1\r\n*SDK Version *= 9.1.0.v20200514121733\r\n*ti.map version*= 3.3.1 (ios)\r\n\r\nWorking fine so closing this ticket. (Attached log for reference)", "updateAuthor": { "name": "srai", "key": "srai", "displayName": "Saumya Rai", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-05-20T06:37:10.000+0000", "updated": "2020-05-20T06:37:10.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }