{ "id": "93302", "key": "TIMOB-9564", "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": "15499", "description": "2013 Sprint 13 API", "name": "2013 Sprint 13 API", "archived": true, "released": true, "releaseDate": "2013-07-01" }, { "id": "15111", "description": "2013 Sprint 13", "name": "2013 Sprint 13", "archived": true, "released": true, "releaseDate": "2013-07-01" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-30T00:51:18.000+0000", "created": "2012-06-14T23:26:30.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "module_textfield", "qe-and060112", "qe-testadded" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-02-21T11:24:52.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": "While testing ,the enabled state of textfield is \"undefined\" by default on android devices whereas it works fine on iOS devices.\r\n\r\nThis is not a regression.This even occurs on 2.0.2\r\n\r\nSteps To Reproduce:\r\n\r\n1. Install the app onto an Android device and launch it.\r\n2. Check the console\r\n\r\napp.js\r\n\r\n{code}\r\n\r\n\tvar w = Titanium.UI.createWindow();\r\n\tw.backgroundColor='white';\r\n\tvar tf= Ti.UI.createTextField();\r\n\tTi.API.info(tf.enabled);\r\n\ttf.enabled = (tf.enabled)?false:true;\r\n\tTi.API.info(tf.enabled);\r\n\t\r\n\tw.add(tf);\r\n\t\r\n\tw.open();\r\n{code}\r\n\r\nActual Result:\r\nThe default enabled state of the text field in the console is undefined. \r\n\r\nExpected Result:\r\nThe default enabled state of the text field in the console should not be undefined. \r\n\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: Textfield- The enabled state of textfield is \"undefined\" by default.", "creator": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Tested with Titanium SDK: 2.1.0.v20120614194151\r\nTested with Titanium  Studio: 2.1.0.201206131907\r\nPlatform & version: Android\r\nDevice Details: LG P970(V 2.2)\r\nHost Operating System: OSX 10.7.3", "comment": { "comments": [ { "id": "240502", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\nAndroid Emulator: Android SDK version: 2.2\n\ntry this code: comment and uncomment enabled property\n\nvar w = Titanium.UI.createWindow();\nw.backgroundColor='white';\nvar tf= Ti.UI.createTextField({\n\twidth:100,\n\t//enabled:false,\n});\nTi.API.info(tf.width);\n\nTi.API.info(tf.enabled);\n \nw.add(tf);\n \nw.open();", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-04T07:17:54.000+0000", "updated": "2013-03-04T07:17:54.000+0000" }, { "id": "259675", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Set default value is true\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4423", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-06-27T04:25:37.000+0000", "updated": "2013-06-27T04:25:37.000+0000" }, { "id": "276091", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with:\r\n\r\nAppc-Studio: 3.2.0.201310181700\r\nSdk:3.2.0.v20131021142445\r\nalloy:1.2.2\r\nnpm:1.3.2\r\ntitanium:3.2.0\r\ntitanium-code-processor:1.0.3\r\nDevice:Samsung Note(v2.3.6), IphoneSimulator(v7.0)\r\nXcode: 5\r\n\r\n\r\nEnabled state for textfield is not undefined, now it returns boolean value.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T05:42:41.000+0000", "updated": "2013-10-22T05:42:41.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }