[TIMOB-2020] iOS: setting title to a numeric value crashes
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Trivial |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-11-02T14:31:35.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Backlog |
| Components | iOS |
| Labels | module_button, qe-testadded |
| Reporter | Thomas Huelbert |
| Assignee | Reggie Seagraves |
| Created | 2011-04-15T03:08:17.000+0000 |
| Updated | 2011-11-22T16:57:18.000+0000 |
Description
Attached code shows crash when setting numeric value to a label on a button. Found by Dave R.
Attachments
| File | Date | Size |
|---|---|---|
| app.js | 2011-04-15T03:08:18.000+0000 | 3300 |
(from [6fa3e84d60cdc71891a961d3e3d5bc666b88b154]) [#2020 status:fixed-in-qa] Initializing a navBarButton will sanitize the title value before applying. http://github.com/appcelerator/titanium_mobile/commit/6fa3e84d60cdc71891a961d3e3d5bc666b88b154"> http://github.com/appcelerator/titanium_mobile/commit/6fa3e84d60cdc...
Just tested the app.js with the latest CI from 1.8.0 and I am no longer seeing crashes from this.
Tested with both of these SDKs and I am no longer seeing the crash. The app loads fine, all the buttons show the appropriate text. Tested in the iPad 5.0 Simulator. version=1.7.2 timestamp=07/21/11 09:36 githash=97c3689 version=1.8.0 timestamp=10/28/11 15:46 githash=79c174b...
Closing. Fix verified on iPod 4.3.3 with SDK 1.8.0.1.v20111122105459.