Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2020] iOS: setting title to a numeric value crashes

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-11-02T14:31:35.000+0000
Affected Version/sn/a
Fix Version/sBacklog
ComponentsiOS
Labelsmodule_button, qe-testadded
ReporterThomas Huelbert
AssigneeReggie Seagraves
Created2011-04-15T03:08:17.000+0000
Updated2011-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

FileDateSize
app.js2011-04-15T03:08:18.000+00003300

Comments

  1. Jeff Haynie 2011-04-15

    (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...

  2. Dawson Toth 2011-11-02

    Just tested the app.js with the latest CI from 1.8.0 and I am no longer seeing crashes from this.
  3. Dawson Toth 2011-11-02

    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...
  4. Alan Vaghti 2011-11-22

    Closing. Fix verified on iPod 4.3.3 with SDK 1.8.0.1.v20111122105459.

JSON Source