{ "id": "167403", "key": "TIMOB-24647", "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": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-07-19T22:43:35.000+0000", "created": "2017-05-02T14:37:27.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-11T02:15:41.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": "In some cases the initial value of a property will not be set correctly in KrollRuntime, even though they are correct in the Java.\r\n\r\n{code:js}\r\nvar win = Ti.UI.createWindow({backgroundColor : 'gray', layout: 'vertical'}),\r\n tf = Ti.UI.createTextField({\r\n value: 'TEXT',\r\n passwordMask: true\r\n }),\r\n btn = Ti.UI.createButton({title: 'passwordMask VALUE'});\r\n\r\nbtn.addEventListener('click', function() {\r\n // passwordMask will be undefined\r\n Ti.API.info('passwordMask: ' + tf.passwordMask);\r\n});\r\n\r\nwin.add(tf);\r\nwin.add(btn);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Constructor values not set correctly in KrollRuntime", "creator": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 903, "state": "closed", "name": "2017 Sprint 12 SDK", "startDate": "2017-06-05T00:15:46.290Z", "endDate": "2017-06-19T00:15:00.000Z", "completeDate": "2017-06-19T16:09:22.870Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "419260", "author": { "name": "mchen", "key": "mchen", "displayName": "Maggie Chen", "active": true, "timeZone": "Asia/Singapore" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/9005", "updateAuthor": { "name": "mchen", "key": "mchen", "displayName": "Maggie Chen", "active": true, "timeZone": "Asia/Singapore" }, "created": "2017-05-08T01:20:38.000+0000", "updated": "2017-05-08T01:20:38.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }