{ "id": "169007", "key": "TIMOB-24977", "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-08-04T18:10:20.000+0000", "created": "2017-07-18T18:06:29.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" }, { "id": "19333", "description": "Patch release for important items that did not make it into 6.0.3", "name": "Release 6.0.4", "archived": false, "released": true, "releaseDate": "2017-04-27" }, { "id": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" }, { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-15T22:11:32.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen using a SearchBar if the list of suggestions will be oriented *above* (i.e. the searchbar is in the bottom half of the screen) the searchbar then the app will crash when entering a search term.\r\n\r\nThis occurs when a SearchBar is added to a ListView or TableView\r\n\r\nError is thrown on the clear call here https://github.com/appcelerator/titanium_mobile_windows/blob/66ccc0a080360d147dd2b59c748a075b87107233/Source/UI/src/SearchBar.cpp#L62\r\n\r\n{code}\r\nvar _window = Ti.UI.createWindow({ backgroundColor: 'green'});\r\nvar searchBar = Ti.UI.createSearchBar();\r\n\r\nvar data = [];\r\nfor (var i = 0; i < 25; i++) {\r\n data.push({ title: `Row ${i}` });\r\n}\r\nvar tableView = Ti.UI.createTableView({\r\n search: searchBar,\r\n data: data,\r\n top: '80%'\r\n});\r\n_window.add(tableView);\r\n_window.open()\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Add the above to an existing app.js and build for a Windows target\r\n# Enter some text into the searchbar\r\n\r\nh5.Actual\r\n\r\nApp will throw the below error\r\n\r\n{code}\r\n[ERROR] : ----- Titanium Javascript Runtime Error -----\r\n[ERROR] : In undefined: undefined,undefined\r\n[ERROR] : Message: Uncaught Error: undefined\r\n{code}\r\n\r\nh5.Expected\r\n\r\nApp should not throw an error search should function as normal", "attachment": [], "flagged": false, "summary": "Windows: Crash when using a SearchBar where the autosuggestions box is oriented above the UI element", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Ti SDK: 6.0.4.GA, 6.1.0.GA, 6.1.1.GA, 6.2.0.v20170717210803\r\nLumia 550 10.0.15063\r\nWindows 10 Pro local", "closedSprints": [ { "id": 933, "state": "closed", "name": "2017 Sprint 16 SDK", "startDate": "2017-07-30T16:17:10.306Z", "endDate": "2017-08-13T16:17:00.000Z", "completeDate": "2017-08-13T23:06:34.398Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "424324", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile_windows/pull/1043", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-18T20:50:48.000+0000", "updated": "2017-07-18T20:50:48.000+0000" }, { "id": "425296", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~gmathews][~eharris] Master is merged, Waiting for 6_2_X back-port", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-02T17:57:33.000+0000", "updated": "2017-08-02T17:57:33.000+0000" }, { "id": "425382", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I will push backports for 6_2_X soon.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-02T23:09:05.000+0000", "updated": "2017-08-02T23:09:05.000+0000" }, { "id": "425385", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "6_2_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1058", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-02T23:14:28.000+0000", "updated": "2017-08-02T23:14:28.000+0000" }, { "id": "425850", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~smohammed] Backported to 6_2_X. No tests needed for 6_2_X because currently {{6_2_X}} branch and {{master}} are pretty much same. Should be ok to close this ticket.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-04T01:08:04.000+0000", "updated": "2017-08-04T01:08:04.000+0000" }, { "id": "426718", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix in SDK Version 7.0.0.v20170815065413 and SDK Version: 6.2.0.v20170815130745\r\n\r\nTest and other information can be found at:\r\nMaster: https://github.com/appcelerator/titanium_mobile_windows/pull/1043\r\n6_2_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1058", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T22:11:27.000+0000", "updated": "2017-08-15T22:11:27.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }