{ "id": "163824", "key": "TIMOB-24053", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-10-24T19:25:56.000+0000", "created": "2016-10-07T18:42:27.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "automated", "passwordMask", "regression", "textfield" ], "versions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" }, { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" }, { "id": "18253", "name": "Release 5.5.0", "archived": false, "released": true, "releaseDate": "2016-09-13" }, { "id": "18322", "name": "Release 5.5.1", "archived": false, "released": true, "releaseDate": "2016-09-28" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-26T01:58: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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "When using the following JS and XML on 5.2.2GA, I am successfully able to toggle the passwordMask for both iOS and Android to show/hide the text in the TextField.\r\n\r\nWhen I simply change my sdk to 5.5.1GA, iOS continues to work, *but Android no longer works*. The \"mask\" never toggles. It also appears it doesn't work for Android in 5.4.0GA either.\r\n\r\nindex.xml\r\n========\r\n\r\n\t\r\n\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\r\n\t\r\n\r\n\r\nindex.js\r\n========\r\nisPasswordVisible = false;\r\n\r\nfunction togglePasswordVisible(){\r\n\tif (isPasswordVisible){\r\n\t\t$.password.passwordMask = true;\r\n\t\tisPasswordVisible = false;\r\n\t} else {\r\n\t\t$.password.passwordMask = false;\r\n\t\tisPasswordVisible = true;\r\n\t}\r\n}\r\n\r\n$.index.open();", "attachment": [], "flagged": false, "summary": "Android: passwordMask property cannot be changed after rendering (Regression)", "creator": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "environment": "Appcelerator Studio 4.7.1201609100950\r\nTi SDK 5.5.1GA", "closedSprints": [ { "id": 741, "state": "closed", "name": "2016 Sprint 22 SDK", "startDate": "2016-10-22T00:02:29.945Z", "endDate": "2016-11-05T00:02:00.000Z", "completeDate": "2016-11-07T04:38:58.335Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "398398", "author": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "body": "I think I created this in the wrong \"project\"", "updateAuthor": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "created": "2016-10-07T18:56:03.000+0000", "updated": "2016-10-07T18:56:03.000+0000" }, { "id": "399400", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Aru you still having the issue? Can you check in SDK 6.0.0. Let us know. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-10-19T19:13:34.000+0000", "updated": "2016-10-19T19:13:34.000+0000" }, { "id": "399401", "author": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "body": "I'm in the middle of Production Releases on multiple apps - I can't afford to jump into BETA right now.\r\n\r\nDon't you have accessibility to 6.x Beta in a lab to verify its fixed?", "updateAuthor": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "created": "2016-10-19T19:15:51.000+0000", "updated": "2016-10-19T19:15:51.000+0000" }, { "id": "399481", "author": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "body": "ok, I pin-pointed the issue here. The issue is isolated to a TextField and when using the property editable=\"false\".\r\n\r\n\r\nIf I use a *Label* on 5.5.1GA, the mask \"toggle\" works fine for both iOS and Android.\r\n\r\nIf I use a *TextField* on 5.5.1GA, and set the property editable=\"true\", then the \"toggle\" works on both iOS and Android. But obviously this makes it difficult to click the field as the OS wants to highlight the text - so clicking becomes difficult.\r\n{code}\r\n\r\n{code}\r\n\r\nBut if I use a *TextField* on 5.5.1GA, and set the property editable=\"false\", then the \"toggle\" only works on iOS. Does NOT work on Android.\r\n{code}\r\n\r\n{code}\r\n\r\n\r\nSo, the work around for now is to use a Label for a cross-platform solution. But I still think this needs to be corrected in a future release to maintain complete functionality.", "updateAuthor": { "name": "amwinsauto", "key": "amwinsauto", "displayName": "Adam Armstrong", "active": true, "timeZone": "America/Chicago" }, "created": "2016-10-20T11:07:04.000+0000", "updated": "2016-10-20T11:07:04.000+0000" }, { "id": "399588", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/8530", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-21T16:14:57.000+0000", "updated": "2016-10-21T16:14:57.000+0000" }, { "id": "399703", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Merged to master (6.1.0) and cherry-picked to 6_0_X. Not sure if that means it'll be in 6.0.0 GA, or 6.0.1 (if/when that gets released)?", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-10-24T19:25:56.000+0000", "updated": "2016-10-24T19:25:56.000+0000" }, { "id": "399807", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~cwilliams] Thx. Current 6_0_X will go into 6.0.0.RC and therefore 6.0.0.GA as well. :-)", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-25T18:26:00.000+0000", "updated": "2016-10-25T18:26:00.000+0000" }, { "id": "399810", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nPasswordMask can now be changed successfully.\r\nClosing.\r\n\r\nAppc Studio : 4.8.0.201610171310\r\nSDK Version : 6.0.0.v20161024184632\r\nMac OS Version : 10.11.6\r\nXcode Version : Xcode 8.0 Build version 8A218a\r\nAppc CLI AND Appc NPM : {\"NPM\":\"4.2.8-9\",\"CLI\":\"6.0.0-65\"}\r\nTi CLI : 5.0.10\r\nAlloy : 1.9.3\r\nNode : v4.6.0\r\nNexus 5 : 6.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-25T19:07:23.000+0000", "updated": "2016-10-25T19:07:23.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }