{ "id": "65430", "key": "TIMOB-4123", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-03T16:17:05.000+0000", "created": "2011-05-17T14:05:02.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "core", "module_label", "qe-testadded" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-11-07T05:29:12.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Description:\nSetting label.height to 'auto' then reading the height value returns \"2\". This bug was originally in the Android component as TIMOB-3202 and was fixed (set to return 'auto'). For parity, iOS should follow suit.\n\nsteps to reproduce:\n1) Create sample app and replace app.js with:\n\nvar win = Titanium.UI.createWindow({\n\tbackgroundColor:'white'\n});\n\nwin.open();\n\nvar label = Ti.UI.createLabel();\nlabel.height = 'auto';\n alert('Label height is: '+label.height);\n\n2) launch the app\n\nResult:\nThe alert reports \"2\"\n\nExpected:\nThe alert reports \"auto\" (for android parity)", "attachment": [ { "id": "18514", "filename": "Screenshot 2011.05.17 13.55.15.png", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-05-17T14:05:02.000+0000", "size": 138867, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Label height set to auto should return \"auto\" for Android parity.", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 4.3.3 iPhone 4. SDK 1.7.0RC1. Titanium Studio, build: 1.0.0.201105131046", "comment": { "comments": [ { "id": "179772", "author": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Will this be fixed anytime soon?", "updateAuthor": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-18T14:01:24.000+0000", "updated": "2012-01-18T14:01:24.000+0000" }, { "id": "179774", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We plan to take care of this parity issue in the next release (1.9).", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-18T14:05:13.000+0000", "updated": "2012-01-18T14:05:13.000+0000" }, { "id": "193650", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed as a result of the composite layout. Tested 2.1.0.848d711.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-03T16:17:05.000+0000", "updated": "2012-05-03T16:17:05.000+0000" }, { "id": "198542", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed with SDK 2.1.0.v20120614124151 on iPhone 4 (5.0.1)", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-14T13:47:53.000+0000", "updated": "2012-06-14T13:47:53.000+0000" }, { "id": "278586", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Anvil testcase PR https://github.com/appcelerator/titanium_mobile/pull/4787", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-07T05:29:12.000+0000", "updated": "2013-11-07T05:29:12.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }