{ "id": "62842", "key": "TIMOB-2210", "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": "11230", "name": "Release 1.5.0 M05", "archived": true, "released": true, "releaseDate": "2010-12-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:25.000+0000", "created": "2011-04-15T03:13:38.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "android_refactor", "crash", "defect", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:58:25.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": "{html}

G2 (2.2) some G1 (1.6) simulator (2.1) TiMobile SDK\n1.5.0.add5e1

\n

Crash on \"the rest\" test case
\n1.Controls>Text Field>The rest

\n

results: crash on load.

\n

http://pastie.org/1253816

{html}", "attachment": [], "flagged": false, "summary": "Android: Crash on \"the rest\" test case (\"unable to convert boolean\")", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127837", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

The test was changed on line #112 to set a\nboolean to a value expecting an int.

\n
\ntf1.autocapitalization = true; // See autocorrect note\n
\n

not sure why that was done.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:13:39.000+0000", "updated": "2011-04-15T03:13:39.000+0000" }, { "id": "127838", "author": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I am asking Blain to take a look at iPhone side and modify the\nKS sample to be assigned an appropriate constant after checking the\nIOS source code and testing it.

{html}", "updateAuthor": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:13:39.000+0000", "updated": "2011-04-15T03:13:39.000+0000" }, { "id": "127839", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [29db36375ebb62d2517509bfe08c839f08378031])\n[#2210 state:fixed-in-qa] KS was incorrect;\nautocapitalization isn't like autocorrection. It's an integer, not\na boolean. (iPhone was implicitly converting the boolean, which is\nwhy it didn't crash) \nhttps://github.com/appcelerator/titanium_mobile/commit/29db36375ebb...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:13:40.000+0000", "updated": "2011-04-15T03:13:40.000+0000" }, { "id": "127840", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

crashes as of Titanium SDK version: 1.5.0 (12/10/10 08:19\nf37ab6c) G2 (2.2)

\n

D/KrollContext( 5388): (kroll$10) [1416,36540] Running evaluated\nscript: app://examples/textfield_therest.js
\nD/dalvikvm( 5388): GC_FOR_MALLOC freed 12551 objects / 896680 bytes\nin 68ms
\nD/AndroidRuntime( 5388): Shutting down VM
\nW/dalvikvm( 5388): threadid=1: thread exiting with uncaught\nexception (group=0x4001d7e0)
\nE/TiUncaughtHandler( 5388): (main) [284,36824] Sending event:\nexception on thread: main msg:java.lang.NumberFormatException:\nUnable to convert java.lang.Boolean; Titanium 1.5.0,2010/12/10\n08:19,37ab6c
\nE/TiUncaughtHandler( 5388): java.lang.NumberFormatException: Unable\nto convert java.lang.Boolean
\nE/TiUncaughtHandler( 5388): at\norg.appcelerator.titanium.util.TiConvert.toInt(TiConvert.java:221)
\nE/TiUncaughtHandler( 5388): at\norg.appcelerator.titanium.util.TiConvert.toInt(TiConvert.java:225)
\nE/TiUncaughtHandler( 5388): at\nti.modules.titanium.ui.widget.TiUIText.handleKeyboard(TiUIText.java:287)
\nE/TiUncaughtHandler( 5388): at\nti.modules.titanium.ui.widget.TiUIText.propertyChanged(TiUIText.java:185)
\nE/TiUncaughtHandler( 5388): at\norg.appcelerator.kroll.KrollPropertyChange.fireEvent(KrollPropertyChange.java:21)
\nE/TiUncaughtHandler( 5388): at\norg.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:431)
\nE/TiUncaughtHandler( 5388): at\norg.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:269)
\nE/TiUncaughtHandler( 5388): at\nandroid.os.Handler.dispatchMessage(Handler.java:95)
\nE/TiUncaughtHandler( 5388): at\nandroid.os.Looper.loop(Looper.java:123)
\nE/TiUncaughtHandler( 5388): at\nandroid.app.ActivityThread.main(ActivityThread.java:4627)
\nE/TiUncaughtHandler( 5388): at\njava.lang.reflect.Method.invokeNative(Native Method)
\nE/TiUncaughtHandler( 5388): at\njava.lang.reflect.Method.invoke(Method.java:521)
\nE/TiUncaughtHandler( 5388): at\ncom.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
\nE/TiUncaughtHandler( 5388): at\ncom.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
\nE/TiUncaughtHandler( 5388): at\ndalvik.system.NativeStart.main(Native Method)

\n

back to Ralf

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:13:40.000+0000", "updated": "2011-04-15T03:13:40.000+0000" }, { "id": "127841", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [feeaeaa52ebba42ee8b49ee235f6aa29a0e9cf31])\nGuh [#2210 state:fixed-in-qa] Mea culpa; the last fix\nfixed Smoketest, not Kitchen Sink. That'll teach me to pay\nattention to paths. \nhttps://github.com/appcelerator/titanium_mobile/commit/feeaeaa52ebb...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:13:40.000+0000", "updated": "2011-04-15T03:13:40.000+0000" }, { "id": "127842", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

looking good RC2 ipod touch 4.2.1

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:13:41.000+0000", "updated": "2011-04-15T03:13:41.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }