{ "id": "61173", "key": "TIMOB-541", "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": "11242", "name": "Release 1.6.0 M09", "archived": true, "released": true, "releaseDate": "2011-02-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:53:27.000+0000", "created": "2011-04-15T02:31:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "release-1.6.0", "tableview", "tableviewrow", "unicode" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:53:27.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": "{html}

Hello,

\n

when trying to build a grouped table-view on iPhone my\napplication throws the exception

\n

iPhone Simulator 3.1 (139.1), iPhone OS 3.1 (7C144)
\nTerminating app due to uncaught exception\n'NSInvalidArgumentException', reason: ' -[NSCFString\nappendString:]: nil argument'

\n

The crash seems to be triggered by the umlaut \"ß\"\n(html-encoded: ß).

\n

Code for reproduction (just create a new project and insert into\napp.js):

\n
\nTitanium.UI.setBackgroundColor('#000');\n\nvar window = Titanium.UI.createWindow({  \n    title:'Window',\n    backgroundColor:'#fff'\n});\n\nvar tableData = [];\n\nvar section = Ti.UI.createTableViewSection();\nsection.headerTitle = 'SectionHeader';\n\nvar umlautRow = Ti.UI.createTableViewRow({title:'Umlaut ß'});\nsection.add(umlautRow);\n\ntableData.push(section);\n\nvar table = Ti.UI.createTableView({\n    data:tableData,\n    style:Titanium.UI.iPhone.TableViewStyle.GROUPED\n});\n\nwindow.add(table);\n\nwindow.open();\n
\n

Using Titanium Mobile v1.0 / OSX 10.5.8 / iPhone SDK 3.1 and\n3.1.2.

\n

Got no idea on how to fix this myself, so any help would be\ngreatly appreciated.

{html}", "attachment": [], "flagged": false, "summary": "Problem using umlaut as row-title", "creator": { "name": "christiandöring", "key": "christiandöring", "displayName": "Christian Döring", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "christiandöring", "key": "christiandöring", "displayName": "Christian Döring", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "123513", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Fixed at some point. Code has been checked into bugtests for\nposterity since there's an actual example provided here.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:31:29.000+0000", "updated": "2011-04-15T02:31:29.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }