{ "id": "80778", "key": "TIMOB-5397", "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": "12084", "description": "", "name": "Sprint 2011-44", "archived": true, "released": true, "releaseDate": "2011-11-07" }, { "id": "12086", "description": "", "name": "Sprint 2011-46", "archived": true, "released": true, "releaseDate": "2011-11-21" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-05T21:23:21.000+0000", "created": "2011-09-30T16:16:00.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_map", "qe-testadded" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [ { "id": "19015", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "97691", "key": "TIMOB-10050", "fields": { "summary": "iOS: Map Annotation - titleid property for Ti.Map.Annotation does not update", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "14649", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "85179", "key": "TIMOB-7308", "fields": { "summary": "Android: Implement subtitleid and titleid properties for Ti.Map.Annotation", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:46:12.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": "Documentation says that subtitleid and titleid can be use to reference the key in the locale file. It does not work as expected.\r\nhttp://developer.appcelerator.com/apidoc/mobile/latest/Titanium.Map.Annotation-object\r\n\r\nh4. Repro Steps\r\nStep 1: put the code from the example strings.xml file below in \"/i18n/en/strings.xml\" (make the strings.xml file and folders if necessary)\r\nStep 2: run the example code below\r\nStep 3: click on the anotation\r\nStep 4: notice that subtitle does not show \r\n\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:\"#fff\",\r\n title:\"My App\"\r\n});\r\nwin.open();\r\n\r\nvar Ti_ann_defaultPin = Titanium.Map.createAnnotation({\r\n\tlatitude:37.390749,\r\n\tlongitude:-122.081651,\r\n\ttitle:L('title'),\r\n\t// subtitle:L('subtitle'),\r\n\t// titleid:\"title\",\r\n\tsubtitleid:'subtitle',\r\n\tanimate:true,\r\n\tmyid:3 // CUSTOM ATTRIBUTE THAT IS PASSED INTO EVENT OBJECTS\r\n});\r\n\r\nvar mapview = Titanium.Map.createView({\r\n mapType: Titanium.Map.STANDARD_TYPE,\r\n region: {latitude:37.337681,longitude:-122.038193, latitudeDelta:0.01, longitudeDelta:0.01},\r\n animate:true,\r\n regionFit:true,\r\n userLocation:true,\r\n annotations:[Ti_ann_defaultPin]\r\n});\r\n win.add(mapview);\r\n{code}\r\n\r\n{code:title=strings.xml}\r\n\r\n\r\n My Title.\r\n My Subtitle\r\n\r\n{code}\r\n\r\nh4. Workaround\r\nuse title:L('title') instead of titleid:\"title\"\r\n\r\nh4. Associated Helpdesk Ticket\r\nhttp://appc.me/c/APP-589719", "attachment": [], "flagged": false, "summary": "iOS: subtitleid and titleid properties for Ti.Map.Annotation do not work", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.7.2\r\niOS Simulator 4.3", "comment": { "comments": [ { "id": "171743", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "pull pending #643", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-07T10:13:59.000+0000", "updated": "2011-11-07T10:13:59.000+0000" }, { "id": "172785", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please clean up the build warnings.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-15T13:56:26.000+0000", "updated": "2011-11-15T13:56:26.000+0000" }, { "id": "175817", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug fixed. Verified on:\r\nSDK: 1.8.0.1.v20111212014614\r\nStudio: 1.0.7.201112120322\r\nOS: OS X Lion\r\nDevices Tested: iPhone/iPad Simulator 4.3", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-12T14:14:58.000+0000", "updated": "2011-12-12T14:14:58.000+0000" }, { "id": "175829", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Added label qe-port.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-12T14:54:02.000+0000", "updated": "2011-12-12T14:54:02.000+0000" }, { "id": "178293", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening issue to add tag", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-05T17:38:18.000+0000", "updated": "2012-01-05T17:38:18.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }