{ "id": "91400", "key": "TIMOB-9003", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": "13872", "description": "", "name": "Sprint 2012-16 Core", "archived": true, "released": true, "releaseDate": "2012-08-13" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-06T12:40:38.000+0000", "created": "2012-05-05T12:59:34.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "qe-port" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "17055", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "91399", "key": "TIMOB-9002", "fields": { "summary": "iOS: Review and fix external error and warning messages", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-04T00:45:59.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": "Android platform displays a number of error and warning messages that are not very helpful and are confusing to a number of developers. For example, \"[WARN] [object TiUILabel] has an auto width value of 0, meaning this view may not be visible.\" \r\n\r\nWe need to evaluate all the external errors and warning messages -\r\n1. Remove unnecessary messages. Every message should serve a specific purpose and provide meaningful information.\r\n2. Make sure that these messages have consistent language style. Documentation team should review these messages.", "attachment": [], "flagged": false, "summary": "Android: Review and fix external error and warning messages", "creator": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "211444", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "For testing, you can run any app and look at logcat for the output.\r\nI just ran something like:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tnavBarHidden : true,\r\n\tbackgroundColor : '#000'\r\n});\r\n\r\nvar topView = Ti.UI.createView({\r\n\tbackgroundColor : 'white',\r\n\theight : Ti.UI.SIZE,\r\n\ttop : 0,\r\n\tlayout : 'horizontal'\r\n});\r\n\r\ntopView.add(Ti.UI.createView({width: Ti.UI.FILL, height: 100, backgroundColor:'blue'}))\r\ntopView.add(Ti.UI.createView({width: 50, height: 150, backgroundColor:'red'}))\r\ntopView.add(Ti.UI.createView({top: 10, bottom: 20, width:50, height: 200, backgroundColor:'purple'}))\r\ntopView.add(Ti.UI.createView({width: 100, height: 100, backgroundColor:'orange'}))\r\n\r\nwin.addEventListener('postlayout', function(){\r\n\tTi.API.info('-----------------------------height:' + topView.rect.height);\r\n\r\n});\r\n\r\nwin.add(topView);\r\n\r\nwin.open();\r\n{code}\r\n\r\nPlease run the app twice, once with false in your tiapp.xml. The other with that value set to true.\r\n\r\nWhen the value is set to true, you will notice more logging in logcat... something like \"Native view is null\". Otherwise, the logs should not show a lot of logging.\r\n\r\nBefore my fix \"Native view is null\" shows even when the debug value was set to false.\r\n\r\nFeel free to also test it in other apps like KS, to see the difference.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-03T15:10:04.000+0000", "updated": "2012-08-03T15:12:13.000+0000" }, { "id": "213858", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/2673", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-10T14:03:31.000+0000", "updated": "2012-08-10T14:03:31.000+0000" }, { "id": "234138", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\r\nSDK: 3.0.0GA\r\nStudio: 3.0.1.201212181159\r\nDevice: Samgung galaxy note(android 2.3.6)\r\n\r\nWorks as expected", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-14T02:27:58.000+0000", "updated": "2013-01-14T02:27:58.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }