{ "id": "114451", "key": "TIMOB-13881", "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:39:00.000+0000", "created": "2013-05-16T11:20:44.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T21:56:43.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": "iOS: Map annotation crashes the application.\r\n\r\nThis is a regression.\r\n\r\nSteps to reproduce:\r\n1. Run the following app.\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'window 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar changeButton = Ti.UI.createButton({\r\n\t\t    title: 'change colour'\r\n\t\t});\r\n\t\t\r\n\t\twin1.rightNavButton = changeButton;\r\n\t\t \r\n\t\tvar map = Ti.Map.createView({\r\n\t\t    userLocation:false,\r\n\t\t    animate: true,\r\n\t\t    region: {\r\n\t\t        latitude:12,\r\n\t\t        longitude:12,\r\n\t\t        latitudeDelta:1,\r\n\t\t        longitudeDelta:1\r\n\t\t    }\r\n\t\t});\r\n\t\t \r\n\t\tvar annot = Ti.Map.createAnnotation({\r\n\t\t    latitude:12,\r\n\t\t    longitude:12,\r\n\t\t    image: 'blue.png'\r\n\t\t});\r\n\t\t \r\n\t\tmap.addAnnotation(annot);\r\n\t\t \r\n\t\twin1.add(map);\r\n\t win1.open({modal: true});\r\n\t\t \r\n\t\tvar isBlue = true;\r\n\t\t \r\n\t\tchangeButton.addEventListener('click', function(e){\r\n\t\t    annot.image = isBlue ? 'yellow.png' : 'blue.png';\r\n\t\t    isBlue = !isBlue;\r\n\t\t});\r\n win1.open();\r\n{code}\r\n\r\nExpected: \r\nApp should run successfully showing blue pin on the screen\r\n\r\nActual:\r\nApp crashes on the execution.", "attachment": [], "flagged": false, "summary": "iOS: Map annotation crashes the application", "creator": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Device : iPad 3, iOS version: 6\r\nSDK: 3.1.1.v20130514180723\r\nCLI version : 3.1.0\r\nOS : MAC OSX 10.7.5\r\nAppcelerator Studio, build: 3.1.0.201305131750\r\nXCode : 4.5.1", "comment": { "comments": [ { "id": "399227", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Cannot reproduce this with recent versions of ti.map anymore. Thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-18T12:39:00.000+0000", "updated": "2016-10-18T12:39:00.000+0000" }, { "id": "415804", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T21:56:43.000+0000", "updated": "2017-03-24T21:56:43.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }