{ "id": "166453", "key": "TIMOB-24460", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-05-10T14:05:03.000+0000", "created": "2017-03-07T11:27:31.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "event", "qe-6.2.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-30T13:56:28.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": [], "description": "When assigning `passwordMask` to a TextField input, a `change` event is called in the controller. This should not happen. Bug does not occur on iOS.\r\n\r\nTestcase:\r\n\r\n*Controller: index.js*\r\n{code:javascript}\r\n$.password.addEventListener('change', function(e) {\r\n Ti.API.error(JSON.stringify(e));\r\n})\r\n\r\n$.index.open();\r\n\r\n{code}\r\n\r\n*View: index.xml*\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: TextField with passwordMask fires unwanted `change` event", "creator": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "environment": "Android (tested on Nougat 7.1), using Ti SDK 6.0.1.GA, Alloy 1.9.5", "closedSprints": [ { "id": 889, "state": "closed", "name": "2017 Sprint 10 SDK", "startDate": "2017-05-08T00:27:49.740Z", "endDate": "2017-05-22T00:27:00.000Z", "completeDate": "2017-05-22T02:41:01.011Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "409502", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Not sure what's the issue here?! In your code you are calling change event listener in your index.js. and you are saying unwanted change event??!!! Remove the event listener. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-03-07T15:36:06.000+0000", "updated": "2017-03-07T15:36:06.000+0000" }, { "id": "409503", "author": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "body": "Do you even code JavaScript? Im *attaching* an event listener and a *change* event is called for no reason.\r\n\r\nThe *change* event is triggered upon opening the app (nothing should have triggered)", "updateAuthor": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "created": "2017-03-07T15:38:09.000+0000", "updated": "2017-03-07T15:38:51.000+0000" }, { "id": "409511", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, My mistake. I see the behavior happening in Android and not in iOS. I will forward the ticket for a fix. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-03-07T16:42:39.000+0000", "updated": "2017-03-07T16:42:39.000+0000" }, { "id": "409512", "author": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "body": "No problem & thanks", "updateAuthor": { "name": "creative_jira_user", "key": "uzbbert", "displayName": "Creative", "active": false, "timeZone": "Europe/Amsterdam" }, "created": "2017-03-07T16:44:19.000+0000", "updated": "2017-03-07T16:44:19.000+0000" }, { "id": "417829", "author": { "name": "mchen", "key": "mchen", "displayName": "Maggie Chen", "active": true, "timeZone": "Asia/Singapore" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/8983\r\nhttps://github.com/appcelerator/titanium_mobile/pull/8996", "updateAuthor": { "name": "mchen", "key": "mchen", "displayName": "Maggie Chen", "active": true, "timeZone": "Asia/Singapore" }, "created": "2017-04-21T12:32:52.000+0000", "updated": "2017-05-04T14:02:57.000+0000" }, { "id": "419100", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mchen] Can you update the fixVersion for this ticket?", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-04T16:05:21.000+0000", "updated": "2017-05-04T16:05:21.000+0000" }, { "id": "423265", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "{noformat}\r\nSDK Version : Local 6.2.0\r\nMac OS Version : 10.12.4\r\nAppc CLI : 6.2.0\r\nAppc NPM : 4.2.9\r\nNode : v4.6.0\r\nDevice: Nexus 5x(6.0.1) Pixel XL(7.1.2)\r\nEmulator: (6.0), (4.4.2)\r\n{noformat}\r\n\r\nUsing above env passed FR. After merge, the changes are present in {{6.2.0.v20170630052324}}.\r\n*Closing*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2017-06-30T13:55:09.000+0000", "updated": "2017-06-30T13:55:09.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }