{ "id": "108477", "key": "TIMOB-12404", "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": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-03-22T22:12:23.000+0000", "created": "2013-01-24T00:32:03.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-testadded", "sdk-bb" ], "versions": [], "issuelinks": [ { "id": "27396", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "111710", "key": "TIMOB-13219", "fields": { "summary": "BlackBerry: Exceptions cause app failure with no error output or log", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:42:36.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": "Description:\r\n1.In titanium studio create a BB project which has some Ti.API.info in it.\r\n2.Run the app on BB device or BB simulator.\r\n\r\nActual Result:\r\n1.We do not see any app logs in the studio console.\r\n\r\nExpected Result:\r\n1.We should see the app logs.", "attachment": [], "flagged": false, "summary": "BlackBerry : Ti.API.info logs don't show up on studio console.", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nTi Studio : 3.1.0.201212191959\r\nTi BB SDK : 3.1.0.v20130114171802\r\nMac OSX : 10.8.2\r\nwin 7 64 bit\r\nWin 8 \r\nBB simulator : 10.0.9.386", "comment": { "comments": [ { "id": "235843", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Run from command line as per the BB github instructions if you see output in terminal window then the bug is in Titanium Studio.", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-25T04:46:04.000+0000", "updated": "2013-01-25T04:46:04.000+0000" }, { "id": "235973", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "@Russ : tried out the command line optioned mentioned in the github instructions & found the following observations:\r\n 1.On both simulator & device we are getting logs but they are kinda intermediate.Its like they are buffered.\r\n Use the code below in your app.js to test:\r\n {code}\r\nvar win = Ti.UI.createWindow();\r\nwin.add(Ti.UI.createLabel({text: 'Hello, BlackBerry!'}));\r\nvar button = Titanium.UI.createButton({\r\n title: 'Hello',\r\n top: 60,\r\n width: 200,\r\n height: 100\r\n});\r\nbutton.addEventListener('click',function(e)\r\n{\r\n Titanium.API.info(\"You clicked the button\");\r\n});\r\nwin.add(button);\r\nwin.open();\r\n{code}\r\nClicking on 'Hello'button once does not show us any logs but clicking on it twice (clicking one after the other) gives us one log,similarly clicking it twice gives us two logs.Its somehow does not work when clicked normally once like any other user will do.", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-25T19:36:36.000+0000", "updated": "2013-01-25T19:37:57.000+0000" }, { "id": "236769", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This will likely involve working with Studio on integrating support. They way require some CLI support.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-31T19:17:12.000+0000", "updated": "2013-01-31T19:17:12.000+0000" }, { "id": "245786", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix & we can see the info logs in console.\r\nThus closing.\r\n\r\nTi Studio:3.1.0.201304031528\r\nTi SDK : 3.1.0.201304031528\r\n", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-04T20:49:56.000+0000", "updated": "2013-04-04T20:49:56.000+0000" }, { "id": "246066", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Was this actually fixed in Studio? If not this should have been converted to a TISTUD bug not closed.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-05T21:26:00.000+0000", "updated": "2013-04-05T21:26:00.000+0000" }, { "id": "246068", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This was fixed. Unfortunately we will need to retest using the new CLI.", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-05T21:30:34.000+0000", "updated": "2013-04-05T21:30:34.000+0000" }, { "id": "246069", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am not aware if we had any studio issue for this but I closed as I could see the logs on studio console.", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-05T21:31:22.000+0000", "updated": "2013-04-05T21:31:22.000+0000" }, { "id": "246080", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Okay thanks for confirming it as fixed.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-05T22:36:28.000+0000", "updated": "2013-04-05T22:36:28.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }