Project: titanium
Issue TIMOB-18279: String.format strips text after first placeholder with 3.5.0 in Simulator
Only in iOS Simulator String.format strips text after the first placeholder when using the 3.5.0 SDK. This bug seems to have been introduced by the following commit to make the SDK 64-bit safe: https://github.com/appcelerator/titanium_mobile/commit/05440170a6a83fdc7d4b8e396b7b74425a31ca1f h1. Test Case Run the following code using: * (!) Ti 3.5.0 / iOS simulator 8.1: {{a b}} * (/) Ti 3.5.0 / iOS device 8.1.2: {{a b c}} * (/) Ti 3.5.0 / iOS device 8.1.2: {{a b c}} * (/) Ti 3.4.1 / iOS device 8.1.2: {{a b c}} * (/) Ti 3.4.1 / iOS simulator 8.1: {{a b c}} {code} var w = Ti.UI.createWindow({ backgroundColor: 'white' }); w.add(Ti.UI.createLabel({ text: String.format('a %s c', 'b') })); w.open(); {code}
Story points: 3