{ "id": "79390", "key": "TIMOB-5038", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-07-19T17:59:02.000+0000", "created": "2011-08-17T14:45:39.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "annotation", "api", "clickEvent", "map", "parity" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [ { "id": "15134", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "86307", "key": "TIMOB-7610", "fields": { "summary": "Android: MapView crashes when annotation has ordinary view as rightView property", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-19T17:59:02.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Steps to Reproduce:\r\n1. Run the attached application\r\n2. Click on Open Test\r\n3. Click on the right titanium image in the annotation\r\n\r\nActual Result:\r\nNothing happens\r\n\r\nExpected Result:\r\nTo display a different annotation", "attachment": [ { "id": "22787", "filename": "MapAnnotations.zip", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-01T16:15:19.000+0000", "size": 2354555, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: API Parity: clickEvent are not handled in map annotations", "creator": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 2.1 \r\nversion=1.8.0\r\ntimestamp=08/16/11 10:21\r\ngithash=1033139", "comment": { "comments": [ { "id": "164764", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We need to update with more details: when does the click event of an annotation actually occur, during the pin click, during the popup click, or both? Also a boiled down JS example would be helpful", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-01T09:56:14.000+0000", "updated": "2011-09-01T09:56:14.000+0000" }, { "id": "164854", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Trimmed test down to easily track the problem", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-01T16:15:19.000+0000", "updated": "2011-09-01T16:15:19.000+0000" }, { "id": "164858", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Android:\r\nClicking on the pin displays and hides the map annotation. \r\nClick event is not taking the click on the right view item in map annotation.\r\n\r\niOS:\r\nClicking on the pin displays the map annotation, click elsewhere to hide\r\nClick on the right view, map annotion changes, pin changes\r\nPin does not take click events when map annotation is up", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-01T16:20:58.000+0000", "updated": "2011-09-01T16:20:58.000+0000" }, { "id": "182684", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I did some testing on this sample against current master.\r\n\r\nLooking at the logging, the click event IS being generated. However, there are a couple of issues:\r\n\r\n- On Android, the event is generated with clicksource = 'rightPane', not 'rightButton', so that branch is never executed.\r\n\r\n- If I change the logic to use (clicksource == 'rightButton' || clicksource == 'rightPane'), I can see the branch get executed, but the changes to the annotation never show up. Perhaps this is related to TIMOB-2236?", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-09T16:26:39.000+0000", "updated": "2012-02-09T16:26:39.000+0000" }, { "id": "182708", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "By further paring down the test case in this report, I came up with a crash, reported as TIMOB-7610.\r\n\r\nThis crash would explain why the annotation is not getting updated, except that we're not seeing the crash.\r\n\r\nQuestion: could the platform be catching this NPE because it's occurring inside the click event handler? That could explain the observed behavior.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-09T22:18:13.000+0000", "updated": "2012-02-09T22:18:13.000+0000" }, { "id": "424381", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and lack of progress for a number of years. Please open a new ticket if there are any problems.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-19T17:59:02.000+0000", "updated": "2017-07-19T17:59:02.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }