{ "id": "141921", "key": "TIMOB-18279", "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": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-05-07T04:45:44.000+0000", "created": "2014-12-19T10:47:13.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "3.5.0", "64-bit", "string.format" ], "versions": [ { "id": "16711", "description": "Release 3.5.1", "name": "Release 3.5.1", "archived": false, "released": true, "releaseDate": "2015-03-06" } ], "issuelinks": [ { "id": "47472", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "142865", "key": "TIMOB-18391", "fields": { "summary": "iOS: Using String.format with multiple parameters crashes application", "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": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-31T22:19:54.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": "Only in iOS Simulator String.format strips text after the first placeholder when using the 3.5.0 SDK.\r\n\r\nThis bug seems to have been introduced by the following commit to make the SDK 64-bit safe:\r\nhttps://github.com/appcelerator/titanium_mobile/commit/05440170a6a83fdc7d4b8e396b7b74425a31ca1f\r\n\r\nh1. Test Case\r\n\r\nRun the following code using:\r\n\r\n* (!) Ti 3.5.0 / iOS simulator 8.1: {{a b}}\r\n* (/) Ti 3.5.0 / iOS device 8.1.2: {{a b c}}\r\n* (/) Ti 3.5.0 / iOS device 8.1.2: {{a b c}}\r\n* (/) Ti 3.4.1 / iOS device 8.1.2: {{a b c}}\r\n* (/) Ti 3.4.1 / iOS simulator 8.1: {{a b c}} \r\n\r\n{code}\r\nvar w = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n});\r\n\r\nw.add(Ti.UI.createLabel({\r\n text: String.format('a %s c', 'b')\r\n}));\r\n\r\nw.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "String.format strips text after first placeholder with 3.5.0 in Simulator", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "3.5.0.Beta", "closedSprints": [ { "id": 398, "state": "closed", "name": "2015 Sprint 09 SDK", "startDate": "2015-04-25T00:00:00.000Z", "endDate": "2015-05-09T00:00:00.000Z", "completeDate": "2015-05-11T14:11:17.028Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "342391", "author": { "name": "philet", "key": "philet", "displayName": "Philippe Wueger", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull Request: https://github.com/appcelerator/titanium_mobile/pull/6624", "updateAuthor": { "name": "philet", "key": "philet", "displayName": "Philippe Wueger", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-02-06T12:45:18.000+0000", "updated": "2015-02-06T12:45:18.000+0000" }, { "id": "350875", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can we please try on 4.0 as well. See TIMOB-18391.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-27T16:36:21.000+0000", "updated": "2015-04-27T16:36:21.000+0000" }, { "id": "351898", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-05-07T04:41:01.000+0000", "updated": "2015-05-07T04:46:31.000+0000" }, { "id": "352865", "author": { "name": "cbeloch", "key": "cbeloch", "displayName": "Christopher Beloch", "active": true, "timeZone": "Europe/Berlin" }, "body": "I hope that your don't take 4.0.0 for real as the only release containing this fix.\r\nWhat about a 3.5.x release?", "updateAuthor": { "name": "cbeloch", "key": "cbeloch", "displayName": "Christopher Beloch", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-05-18T15:08:21.000+0000", "updated": "2015-05-18T15:08:21.000+0000" }, { "id": "416583", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed, if there are any problems, please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-31T22:19:54.000+0000", "updated": "2017-03-31T22:19:54.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }