{ "id": "62088", "key": "TIMOB-1456", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:56:13.000+0000", "created": "2011-04-15T02:53:20.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "switch", "tableview" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:56:13.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": "{html}

This can be seen by loading table_view_controls_2.js in\nKitchenSink

\n

stacktrace here:

\n

http://gist.github.com/505881

\n

Tested against continuous build\nmobilesdk-1.4.1-20100801235900-osx.zip

{html}", "attachment": [], "flagged": false, "summary": "Crash with Switch control in TableView", "creator": { "name": "lukemelia", "key": "lukemelia", "displayName": "Luke Melia", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lukemelia", "key": "lukemelia", "displayName": "Luke Melia", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "125755", "author": { "name": "wallneradam", "key": "wallneradam", "displayName": "wallneradam", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I found a workaround for this:

\n
\nsetTimeout(function() {\n    sw.addEventListener('change', function(e) {\n        info(e.value);\n    });\n}, 0);\n
{html}", "updateAuthor": { "name": "wallneradam", "key": "wallneradam", "displayName": "wallneradam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:53:21.000+0000", "updated": "2011-04-15T02:53:21.000+0000" }, { "id": "125756", "author": { "name": "lukemelia", "key": "lukemelia", "displayName": "Luke Melia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

The workaround is only sporadically successful for me.

{html}", "updateAuthor": { "name": "lukemelia", "key": "lukemelia", "displayName": "Luke Melia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:53:21.000+0000", "updated": "2011-04-15T02:53:21.000+0000" }, { "id": "125757", "author": { "name": "damienelmes", "key": "damienelmes", "displayName": "Damien Elmes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Reverting commit 9cfa37a is a reliable temporary workaround

{html}", "updateAuthor": { "name": "damienelmes", "key": "damienelmes", "displayName": "Damien Elmes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:53:21.000+0000", "updated": "2011-04-15T02:53:21.000+0000" }, { "id": "125758", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Make sure you assign bugs to either me or Blain when creating\nthem, and place them as targets for the most recent milestone, or\nnobody will see them.

\n

Duplicate bug of #1523.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:53:22.000+0000", "updated": "2011-04-15T02:53:22.000+0000" }, { "id": "125759", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

confirmed on 1.3.2 and 4.0.2, 1.4.1.405c02

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