{ "id": "111463", "key": "TIMOB-13139", "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": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" }, { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-12T11:51:06.000+0000", "created": "2013-03-20T19:22:46.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_blackberry", "qe-3.3.0", "qe-testadded", "regression", "sdk-bb" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-13T17:50:10.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Description:\r\nDescription:\r\n1.Use the code snippet below & run it on BB simulator/device\r\n{code}\r\nvar win = Titanium.UI.createWindow({orientationModes:[Ti.UI.PORTRAIT]});\r\n \r\nvar mountainView = Titanium.Map.createAnnotation({\r\n latitude:37.389493,\r\n longitude:-122.050166,\r\n title:'Appcelerator Headquarters',\r\n subtitle:'Mountain View, CA',\r\n pincolor:Ti.Map.ANNOTATION_GREEN,\r\n //rightView: 'images/appcelerator_small.png',\r\n leftView: 'images/appcelerator_small.png'\r\n});\r\n \r\nvar waitersOnWheels = Titanium.Map.createAnnotation({\r\n latitude:37.390749,\r\n longitude:-122.051651,\r\n title:'Waiters On Wheels',\r\n subtitle:'Mountain View, CA',\r\n pincolor:Ti.Map.ANNOTATION_RED,\r\n //rightView: 'images/appcelerator_small.png',\r\n leftView: 'images/appcelerator_small.png'\r\n});\r\n \r\nvar tlBeerGarden = Titanium.Map.createAnnotation({\r\n latitude:37.39504,\r\n longitude:-122.02937,\r\n title:'TL Beer Garden',\r\n subtitle:'Sunnyvale, CA',\r\n pincolor:Ti.Map.ANNOTATION_PURPLE,\r\n //rightView: 'images/appcelerator_small.png',\r\n leftView: 'images/photo.jpg'\r\n});\r\n \r\nvar mapview = Titanium.Map.createView({\r\n region: {latitude:37.390749, longitude:-122.051651},\r\n annotations:[mountainView, waitersOnWheels]\r\n});\r\n \r\nwin.add(mapview);\r\n \r\n// Handle click events on any annotations on this map.\r\nwaitersOnWheels.addEventListener('click', function(evt) {\r\n \r\n mapview.addAnnotation(tlBeerGarden);\r\n \r\n if (evt.clicksource == 'leftView') {\r\n Ti.API.info('Annotation ' + evt.clicksource + ', left view clicked.');\r\n }\r\n \r\n if (evt.clicksource == 'rightView') {\r\n Ti.API.info('Annotation ' + evt.clicksource + ', right view clicked.');\r\n }\r\n \r\n});\r\n \r\nwin.open();\r\n{code}\r\n2. After launch check the annotation pins\r\n\r\nActual Result:\r\n1. You will see that pins are not showing colors even though in code\r\n\r\nExpected Results:\r\n1. The pins should show colors", "attachment": [], "flagged": false, "summary": "BlackBerry: Map annotation pins are not showing colors", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nTi Studio : 3.1.0.201303191930\r\nTi BB SDK : 3.1.0.v20130319225749\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nBB simulator : 10.0.10.261\r\nDev alpha B 10 device", "closedSprints": [ { "id": 105, "state": "closed", "name": "2014 Sprint 11 SDK", "startDate": "2014-05-27T21:43:32.338Z", "endDate": "2014-06-07T00:00:00.000Z", "completeDate": "2014-06-09T21:36:37.587Z", "originBoardId": 114 }, { "id": 126, "state": "closed", "name": "2018 Sprint 05 SDK", "startDate": "2018-02-25T19:38:08.926Z", "endDate": "2018-03-11T18:38:00.000Z", "completeDate": "2018-03-11T22:06:01.520Z", "originBoardId": 100 } ], "comment": { "comments": [ { "id": "243293", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the issue & the annotation pins are showing colors.Thus closing.\r\n\r\nEnvironment:\r\nTi Studio : 3.1.0.v20130320125153\r\nTi BB SDK : 3.1.0.v20130319225749\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nBB simulator : 10.0.10.261\r\nDev alpha B 10 device", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-20T22:58:50.000+0000", "updated": "2013-03-20T22:58:50.000+0000" }, { "id": "306538", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with: \r\n Appcelerator Studio, build: 3.3.0.201405211748\r\nTitanium SDK, build: 3.3.0.v20140524224144 \r\nNode.JS Version: v0.10.13 \r\nNPM Version: 1.3.2 \r\nacs@1.0.14 \r\nalloy@1.4.0-alpha4 \r\nnpm@1.3.2 \r\ntitanium@3.3.0-alpha5 \r\ntitanium-code-processor@1.1.1\r\nDevice: BB Z10 (10.2.1)\r\n\r\nh5. Actual result\r\n{code}\r\n[ERROR] : Error: Command failed: [Fatal Error] bar-descriptor.xml:94:106: The reference to entity \"annotations\" must end with the ';' delimiter.\r\n[INFO] : Running: blackberry-deploy -installApp -launchApp -device 172.16.3.10 -***** \"*****\" build/maps_anno_1.bar\r\n[INFO] : Please wait...\r\nError: The reference to entity \"annotations\" must end with the ';' delimiter.\r\n[DEBUG] : [Fatal Error] bar-descriptor.xml:94:106: The reference to entity \"annotations\" must end with the ';' delimiter.\r\nError: The reference to entity \"annotations\" must end with the ';' delimiter.\r\n[ERROR] : Error: Command failed: Error: File does not exist or not a file or cannot read: build/maps_anno_1.bar \r\n[INFO] : Total build time: 14.55 seconds\r\n[DEBUG] : Error: File does not exist or not a file or cannot read: build/maps_anno_1.bar \r\n\r\n{code}", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-27T21:17:53.000+0000", "updated": "2014-05-27T21:17:53.000+0000" }, { "id": "308339", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\r\nMac osx 10.9.3 Mavericks\r\nAppcelerator Studio, build: 3.3.0.201406061445\r\nTitanium SDK, build: 3.3.0.v20140609184912 \r\nNode.JS Version: v0.10.13 \r\nNPM Version: 1.3.2 \r\nacs@1.0.14 \r\nalloy@1.4.0-beta \r\nnpm@1.3.2 \r\ntitanium@3.3.0-beta2 \r\ntitanium-code-processor@1.1.1\r\nDevice: BB Z10 (10.2.1)\r\n\r\nh5. Actual result\r\nTested using the above code.\r\nI can see map with no pin.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-10T20:59:35.000+0000", "updated": "2014-06-10T21:00:09.000+0000" }, { "id": "308655", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/267", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-06-12T11:51:06.000+0000", "updated": "2014-06-12T11:51:06.000+0000" }, { "id": "308924", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\r\nMac OSX 10.9.3\r\nAppcelerator studio, build: 3.3.0.201406111952\r\nTitanium SDK, build: 3.3.0.v20140612101712\r\nTitanium CLI, build: 3.3.0-rc\r\nAlloy: 1.4.0-rc\r\nBlackBerry Device: Z10 10.2.1.2947\r\nBlackBerry Device: Q10 10.2.1.2234\r\n\r\nMaps successfully load and pins are visible with correct colors shown correctly.\r\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-13T17:49:31.000+0000", "updated": "2014-06-13T17:49:31.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }