{ "id": "101009", "key": "TIMOB-10893", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-09-13T21:02:31.000+0000", "created": "2012-09-13T06:47:18.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-ios090112" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [ { "id": "20971", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "99430", "key": "TIMOB-10810", "fields": { "summary": "iOS: Setting label with empty string causes seg fault with iOS 6", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T21:30: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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "This is not a regression. It also happens on 2.1.2.\r\nApp do not crashes on iOS 5.1\r\nSteps to reproduce:\r\n1. Use the app below\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'red'});\r\n \r\nvar label1 = Titanium.UI.createLabel({\r\n\t\t color:'#999',\r\n\t\t text:\"\",\r\n\t\t font:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\t\t textAlign:'center',\r\n\t\t width:'auto'\r\n\t\t});\r\n //uncomment below line, it will not crash on iOS 6\r\n\t\t//label1.text = 'Hi'\r\n\t\twin.add(label1);\r\nwin.open();\r\n{code}\r\n2. Run the app on iOS 6.\r\n\r\nExpected result:\r\n2. App should display a blank red window \r\n\r\nActual result:\r\n2. App crashes.", "attachment": [], "flagged": false, "summary": "iOS:Label with empty text field causes app to crash.", "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": "Titanium SDK: 2.1.3.v20120907163110\r\nTitanium Studio: 2.1.3.201209101847\r\nDevice - iPad iOS 6\r\nMachine OS - MAC 10.8", "comment": { "comments": [ { "id": "218952", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of TIMOB-10810.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-13T21:02:31.000+0000", "updated": "2012-09-13T21:02:31.000+0000" }, { "id": "410597", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T21:30:59.000+0000", "updated": "2017-03-09T21:30:59.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }