{ "id": "97691", "key": "TIMOB-10050", "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": null, "resolutiondate": null, "created": "2012-07-19T18:20:18.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "qe-ios070112" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "19015", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "80778", "key": "TIMOB-5397", "fields": { "summary": "iOS: subtitleid and titleid properties for Ti.Map.Annotation do not work", "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": null, "updated": "2018-02-28T20:04:19.000+0000", "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" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "This is not a regression, occurs on 2.1.0 \r\nSteps to reproduce:\r\n1: create a project, put the code from the example strings.xml file below in \"/i18n/en/strings.xml\" \r\n2: run the example code below\r\n3: click on the annotation\r\n4: notice that the title does not update\r\napp.js\r\n{code}\r\n\r\nvar win1 = Ti.UI.createWindow();\r\n\t\t\r\n\t\twin1.title = 'id:string';\r\n\t\twin1.backgroundColor = '#fff';\r\n\t\t \r\n\t\tvar defaultPin1 = Titanium.Map.createAnnotation({\r\n\t\t latitude:37.390749,\r\n\t\t longitude:-122.081651,\r\n\t\t titleid:'title',\r\n\t\t subtitleid:'subtitle',\r\n\t\t animate:true,\r\n\t\t myid:3,\r\n\t\t pincolor:Titanium.Map.ANNOTATION_GREEN\r\n\t\t});\r\n\t\t \r\n\t\tvar mapview1 = Titanium.Map.createView({\r\n\t\t mapType: Titanium.Map.STANDARD_TYPE,\r\n\t\t region: {latitude:37.337681,longitude:-122.038193, latitudeDelta:1, longitudeDelta:2},\r\n\t\t animate:true,\r\n\t\t regionFit:true,\r\n\t\t userLocation:false,\r\n\t\t annotations:[defaultPin1]\r\n\t\t});\r\n\t\t \r\n\t\t// Test updating the locale properties.\r\n\t\tmapview1.addEventListener('click', function() {\r\n\t\t setTimeout(function() {\r\n\t\t defaultPin1.titleid = \"updatedtitle\";\r\n\t\t defaultPin1.subtitle = \"Updated Subtitle\";\r\n\t\t }, 3000);\r\n\t\t});\r\n\t\twin1.add(mapview1);\r\n\t\twin1.open();\r\n\r\n{code}\r\nstring.xml\r\n{code}\r\n\r\n\r\n My Title\r\n My Subtitle\r\n Updated Title\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Map Annotation - titleid property for Ti.Map.Annotation does not update", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 2.1.1.201207161421\r\nTitanium SDK: 2.1.1.v20120718121609\r\nDevices:\r\niPhone 4.3.5\r\niPad 1 4.3.5\r\n", "comment": { "comments": [ { "id": "244441", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 \nTitanium SDK version: 3.0.2 \niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T08:40:17.000+0000", "updated": "2013-03-28T08:40:17.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }