{ "id": "123604", "key": "TIMOB-15960", "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": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-12-12T18:30:16.000+0000", "created": "2013-12-11T20:48:11.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_button", "qe-3.2.0", "qe-closed-3.2.0", "qe-testadded", "regression" ], "versions": [], "issuelinks": [ { "id": "33711", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "108074", "key": "TIMOB-12330", "fields": { "summary": "Blackberry: Implement Layout Engine Vertical Layout ", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-20T01:04:55.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "This is *regression* against 3.1.3.GA\r\njavaScript Exception\r\n{code}\r\napp.js:13\r\n return Ti.UI.createButton({\r\n ^\r\nTypeError: Object true has no method 'createButton'\r\n at MyButton (app.js:13:18)\r\n at app.js:20:16\r\n[N_DEBUG] virtual int NativeAbstractTextControlObject::setFont(TiObject*) Line 159: Unknown value received: Bold\r\n\r\n{code}\r\n\r\nh5. To reproduce run \r\n{code}\r\nvar win = Titanium.UI.createWindow();\r\n \r\nvar scroll = Ti.UI.createScrollView({\r\n backgroundColor: '#ccc',\r\n width: Ti.UI.FILL,\r\n height: Ti.UI.FILL,\r\n layout: 'vertical',\r\n contentHeight: Ti.UI.SIZE,\r\n contentWidth: Ti.UI.FILL\r\n});\r\n \r\nfunction MyButton(title) {\r\n return Ti.UI.createButton({\r\n title: title,\r\n top: 10\r\n });\r\n}\r\n \r\nfor(var i = 0; i < 100; i++) {\r\n scroll.add(MyButton('Button #' + (i + 1))); \r\n}\r\n \r\nwin.add(scroll);\r\nwin.open();\r\n{code}\r\n\r\nh5. Expected result\r\nYou should see a scrollview with buttons layed out in vertical layout & numbered (1 - 100).", "attachment": [], "flagged": false, "summary": " Blackberry: Layout Engine Vertical Layout - Error on method 'createButton'", "creator": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 8, "state": "closed", "name": "2013 Sprint 02 BB", "startDate": "2013-01-14T18:21:00.000Z", "endDate": "2013-01-28T18:21:00.000Z", "completeDate": "2013-02-04T19:43:50.742Z" } ], "comment": { "comments": [ { "id": "284008", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR pending: https://github.com/appcelerator/titanium_mobile_blackberry/pull/193", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-12T18:22:36.000+0000", "updated": "2013-12-12T18:22:36.000+0000" }, { "id": "284010", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~penrique] thanks for the fix", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-12T18:24:04.000+0000", "updated": "2013-12-12T18:24:04.000+0000" }, { "id": "284035", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/194", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-12T18:58:30.000+0000", "updated": "2013-12-12T18:58:30.000+0000" }, { "id": "284109", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested an verified the fix with:\nAppcelerator Studio, build: 3.2.0.201312101708\nTitanium SDK, build: 3.2.0.v20131212122847\nCLI 3.2.0-cr3\nAlloy 1.3.0-cr\nBlackBerryZ10 10.1", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-12T22:53:58.000+0000", "updated": "2013-12-12T22:53:58.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }