{ "id": "94501", "key": "TIMOB-9895", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-07-13T13:11:51.000+0000", "created": "2012-07-06T06:08:28.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "regression" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "18763", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "93577", "key": "TIMOB-9672", "fields": { "summary": "Android: app crashes when Slider object it's inside a tableViewRow and has the 'value' property", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-10T19:10:40.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": "h2. Problem description\r\nWhen a Slider is put inside a TableView, the app crashes with the exception:\r\n\r\n[ERROR][TiApplication( 317)] (main) [514,514] Sending event: exception on thread: main msg:java.lang.NumberFormatException: Unable to convert java.lang.Float; Titanium 2.1.0,2012/06/28 12:16,6e3cab6 [ERROR][TiApplication( 317)] java.lang.NumberFormatException: Unable to convert java.lang.Float\r\n\r\n\r\nh2. Steps to reproduce\r\n1. Create an app with the following code:\r\n\r\n{code:javascript}\r\nvar win = Titanium.UI.createWindow({ backgroudColor: '#333' });\r\n\r\nvar tableview = Titanium.UI.createTableView({\r\n});\r\n\r\nwin.add(tableview);\r\n\r\nvar row = Ti.UI.createTableViewRow({\r\n\theight: 60,\r\n\tbackgroundColor: '#6699cc' \r\n});\r\n\r\nvar volumeSlider = Ti.UI.createSlider({\r\n left:50,\r\n right:10,\r\n min:0,\r\n max:10,\r\n value: 1 * 10\r\n}); \r\nrow.add(volumeSlider);\r\n\r\ntableview.setData([row]);\r\n\r\nwin.open();\r\n{code}\r\n\r\n2. Run the app using SDK 2.1.0 (both on Emulator or device): the app crashes.\r\n\r\n\r\nh2. Expected result\r\nThe app works without issues\r\n\r\nh2. Additional information\r\nThe same app works just fine if you run it using SDK 2.0.2 GA. Regression.\r\n\r\nh2. Customer ticket\r\nhttp://support.appcelerator.com/tickets/APP-266717", "attachment": [], "flagged": false, "summary": "Android: Slider within table crash on 2.1.0 GA", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium SDK: Mobile 2.1.0 GA\r\nPlatform OS: Android\r\nPlatform OS Version: tested on 2.2, 2.3, 4.0", "comment": { "comments": [ { "id": "203177", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicates TIMOB-9672 which is now resolved.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-13T13:11:51.000+0000", "updated": "2012-07-13T13:11:51.000+0000" }, { "id": "411295", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-10T19:10:40.000+0000", "updated": "2017-03-10T19:10:40.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }