{ "id": "124668", "key": "TIMOB-16167", "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": "2014-01-21T23:29:43.000+0000", "created": "2014-01-10T22:54:20.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-3.2.1" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "34503", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "121330", "key": "TIMOB-15535", "fields": { "summary": "Android: TextArea won't go multiline", "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": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-03-21T23:01:24.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": "h5. Problem description\r\n\r\nEscape character '\\n' does not work for textArea on Android if also the 'editable' property is set\r\n\r\nh5. Steps to reproduce\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar defaultInfoText = '\\n FOO \\n \\n BAR';\r\n\r\ninfoTextField = Ti.UI.createTextArea({\r\n color: 'black',\r\n backgroundColor: 'white',\r\n // value: defaultInfoText,\r\n value: 'FOO \\n \\n BAR',\r\n editable: false,\r\n font: { fontsize: 16 }\r\n});\r\n\r\nwin.add(infoTextField);\r\n\r\nwin.open();\r\n\r\n{code}\r\n\r\n'\\n' characters are ignored and FOO BAR is displayed in the same line\r\n\r\nCommenting the 'editable:false' line works and FOO BAR is displayed as expected.\r\n\r\nNot reproducible with 3.1.3.GA", "attachment": [], "flagged": false, "summary": "Android: Escape character '\\n' does not work for textArea if 'editable' property is set", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.2.0.GA and 3.2.1.v20140106195644\r\nCLI 3.2.0.GA\r\nAndroid Google Nexus Galaxy 4.3", "comment": { "comments": [ { "id": "287925", "author": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "body": "PR:-\r\nhttps://github.com/appcelerator/titanium_mobile/pull/5211", "updateAuthor": { "name": "bijuexalture", "key": "bijuexalture", "displayName": "Biju pm", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-01-13T05:29:07.000+0000", "updated": "2014-01-13T05:29:07.000+0000" }, { "id": "289154", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is a duplicate of TIMOB-15535.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-21T23:28:59.000+0000", "updated": "2014-01-21T23:28:59.000+0000" }, { "id": "414652", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T23:01:24.000+0000", "updated": "2017-03-21T23:01:24.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }