{ "id": "125455", "key": "TIMOB-16318", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2014-04-07T23:52:01.000+0000", "created": "2014-01-27T18:49:48.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.2.1" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "37695", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "130437", "key": "AC-1327", "fields": { "summary": "Event 'change' not firing in textfield if setting value", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "34612", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "113464", "key": "TIMOB-13721", "fields": { "summary": "Android: TextField fires change event on first initialization (SDK 3.2)", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-28T23:00:25.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Details:* 'change' event does not get fired if you change TextField.value from a Button 'click' callback.\r\n\r\n*This is not a regression as this occurs with SDK 3.2.0.GA.*\r\n\r\n*Steps to reproduce:*\r\n1. Install the following app.js to an iOS device\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\n\r\nvar textField = Ti.UI.createTextField({\r\n\ttop : 10,\r\n\tvalue : 'TestChangeEvent'\r\n});\r\n\r\ntextField.addEventListener('change', function(e) {\r\n\tTi.API.info(\"Change Event Fired: \" + e.value);\r\n});\r\n\r\nwin.add(textField);\r\n\r\nvar button = Ti.UI.createButton({\r\n\ttop : 150,\r\n\ttitle : \"change textfield.value\"\r\n});\r\n\r\nbutton.addEventListener(\"click\", function() {\r\n\ttextField.value = \"changed\";\r\n});\r\n\r\nwin.add(button);\r\nwin.open();\r\n{code}\r\n\r\n2. While having the Xcode console up, press on the \"change textfield.value\" button\r\n\r\n*Actual:* \"Change Event Fired\" does not appear in the Xcode console.\r\n\r\n*Expected:* \"Change Event Fired\" should appear in the Xcode console whether you change the textField.value by typing something different or from the button.", "attachment": [ { "id": "47167", "filename": "textfieldtest.zip", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-07T23:45:10.000+0000", "size": 70186, "mimeType": "application/zip" } ], "flagged": false, "summary": "TextField: Events - 'change' event does not get fired if you change TextField.value from a Button 'click' callback", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio, build: 3.2.1.201401241158\r\nSDK build: 3.2.0.GA, 3.2.1.v20140124163734\r\nCLI: 3.2.1-beta3\r\nAlloy: 1.3.1-beta4\r\nXcode: 5.0.2\r\nDevices: iphone 4s (6.0.1), iphone 5 (7.0.2)", "comment": { "comments": [ { "id": "300149", "author": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Looks like this is a native behavior. We actually do not get any of the native delegate callbacks when the textfield text is changed programmatically.\n\nMarking ticket as \"NOT OUR BUG\"\n\nNative Test app used for testing attached on ticket.", "updateAuthor": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-07T23:45:46.000+0000", "updated": "2014-04-07T23:45:46.000+0000" }, { "id": "416088", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue mentioned is not our bug.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-28T23:00:25.000+0000", "updated": "2017-03-28T23:00:25.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }