{ "id": "93596", "key": "TIMOB-9682", "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": "15699", "description": "2013 Sprint 21", "name": "2013 Sprint 21", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "15701", "description": "2013 Sprint 21 Core", "name": "2013 Sprint 21 Core", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "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-10-19T01:20:09.000+0000", "created": "2012-06-20T22:59:20.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "androidbuild", "cb-verified", "core", "qe-and060112" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "30756", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "91507", "key": "TIMOB-9028", "fields": { "summary": "CLI: \"build\" command for Android apps", "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": "6", "description": "gh.issue.epic.desc", "name": "Epic", "subtask": false } } } }, { "id": "31513", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "119156", "key": "TIMOB-14973", "fields": { "summary": "Android Build: Validate command line arguments and tiapp.xml settings", "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": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-11-12T11:58:42.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" }, { "id": "10207", "name": "Tooling" } ], "description": "It is not a regression.It exists as far as 1.8.2\r\n\r\nWhile packaging the app,when the value of ti.ui.defaultunit is 'abc' -\r\nExpected - Display warning during packaging, use default system value\r\nActual - No warnings are displayed while packaging.\r\n\r\nLogs generated while packaging are attached with the bug.", "attachment": [ { "id": "28564", "filename": "PackagingLogs.rtf", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-20T22:59:20.000+0000", "size": 32266, "mimeType": "text/rtf" } ], "flagged": false, "summary": "Android: Packaging:No warning displayed for default system value of 'ti.ui.defaultunit'.", "creator": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested with Titanium SDK: 2.1.0.v20120619164153\r\nTested with Titanium  Studio: 2.1.0.201206200844\r\nDevice - Android 2.2.2 LG-P970\r\nMachine OS - MAC 10.7.3", "comment": { "comments": [ { "id": "223517", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Adding the steps to reproduce:\n1. Use the app below in app.js file \n{code}\nvar win = Ti.UI.createWindow({\n\tbackgroundColor:'black'\n});\n\nvar view = Ti.UI.createView({\n\tbackgroundColor:'white',\n\twidth:40,\n\theight:40\n});\n\nwin.add(view);\nwin.open();\n{code}\n2. Add the line below in tiapp.xml file of project\n abc\n3. Run the app\n\nExpected result:\nDisplay warning during packaging, use default system value\n\nActual result\nNo warning is displayed.", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-15T10:41:22.000+0000", "updated": "2012-10-15T10:41:22.000+0000" }, { "id": "264592", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Valid default units include:\n\n* system\n* px\n* dp\n* dip\n* mm\n* cm\n* in\n\nThe following are unsupported:\n\n* sp\n* sip\n* pt\n* %\n\nHere's the full list of Android's units: http://developer.android.com/guide/topics/resources/more-resources.html#Dimension.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-08-01T23:03:00.000+0000", "updated": "2013-08-01T23:03:00.000+0000" }, { "id": "275806", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/4781", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-19T01:20:09.000+0000", "updated": "2013-10-19T01:20:09.000+0000" }, { "id": "279122", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Warning is displayed for default system value of 'ti.ui.defaultunit' as \r\n\" [ERROR] : Invalid \"ti.ui.defaultunit\" property value \"abc\"\r\nValid units:\r\n system\r\n px\r\n dp\r\n dip\r\n mm\r\n cm\r\n in\r\n\"\r\n\r\nWorks as expected hence closing the issue.\r\n\r\nVerified fixed on:\r\nAppcelerator Studio, build: 3.2.0.201311112306\r\nSDK:3.2.0.v20131111174605\r\nalloy: 1.3.0\r\nCLI : 3.2.0\r\nXcode:5.0.1\r\nOS: Mac OSX 10.9", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-11-12T11:58:42.000+0000", "updated": "2013-11-12T11:58:42.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }