{ "id": "65433", "key": "TIMOB-4125", "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": "11355", "description": "Mobile 1.8.0 M02", "name": "Sprint 2011-23", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-06-13T09:20:06.000+0000", "created": "2011-05-17T16:10:29.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [ { "id": "10877", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "70675", "key": "TIMOB-4346", "fields": { "summary": "Drillbit: ui.controls: textControlsTextValueInitialValue should be null but is returning undefined", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2011-07-06T16:51:05.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": "A community member brought up the discussion that Android text proxies, specifically SearchBar.value, was returning '' for iOS and undefined for Android. Group API discussion ensued and we are stating that the initial values should be '' (the empty string) for Label.text, TextField.value, TextArea.value, and Button.title. Other fields may get added to this list over time.", "attachment": [], "flagged": false, "summary": "Android: String/Text Properties on Proxies Initial Value Should be ''. The Empty String", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "156371", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The proxies should be initialized so they they contain \"\" instead of undefined for the listed controls.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-09T16:14:41.000+0000", "updated": "2011-06-09T16:14:41.000+0000" }, { "id": "156592", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Don tested via drillbit on Eris 2.1. Marshall tested via 2.2 emulator.", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-13T09:20:06.000+0000", "updated": "2011-06-13T09:20:06.000+0000" }, { "id": "157710", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "merged onto 1_7_X", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-23T17:29:52.000+0000", "updated": "2011-06-23T17:29:52.000+0000" }, { "id": "158838", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.7.2.v20110630161836, verified that none are returning undefined, drillbit case is in 1.8 only.\nTitanium.UI.setBackgroundColor('#000');\nvar win1 = Titanium.UI.createWindow({ \n title:'Bug 4125',\n backgroundColor:'#fff'\n});\n\nvar label = Ti.UI.createLabel();\n\nvar field = Ti.UI.createTextField();\n\nvar area = Ti.UI.createTextArea();\n\nvar search = Ti.UI.createSearchBar();\n\nvar button = Ti.UI.createButton();\n\nvar label1 = Titanium.UI.createLabel({\n\ttext:'Label.text: ' + label.text + '\\nTextField.value:' + field.value + '\\nTextArea.value:' + area.value + '\\nSearchBar.value:' + search.value + '\\nButton.value:' + button.title + '\\nPass if none are undefined'\n});\n\nwin1.add(label1);\nwin1.open();\n", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-07-06T16:51:05.000+0000", "updated": "2011-07-06T16:51:05.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }