{ "id": "86638", "key": "TIMOB-7703", "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": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2020-01-09T21:33:35.000+0000", "created": "2012-02-16T18:48:45.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "reprod" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": null, "updated": "2020-01-09T21:33:35.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": "User is creating a table with anonymous rows and applying style settings (font & color) to just one of the rows.\r\n\r\nh3. Expected results\r\n\r\nOnly the explicitly styled row should be formatted.\r\n\r\nh3: Actual results\r\n\r\nRandom rows are formatted. Additionally rows get randomly formatted as the table is scrolled or orientation changes. The problem doesn't exist when creating rows with explicit TableViewRow objects\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow ({\r\n backgroundColor : \"#ff0\"\r\n});\r\n\r\nvar data = [];\r\n// FAIL CASE:\r\nfor(var i=0;i<25;i++) {\r\n if(i===0) {\r\n data.push({title: 'Row '+i, color : \"#090\", font : {fontSize : 60, fontWeight : \"bold\"}} );\r\n } else {\r\n data.push({title: 'Row '+i});\r\n }\r\n}\r\n\r\n/*\r\n// THIS WORKS AS IT SHOULD:\r\nfor(var i=0;i<25;i++) {\r\n if(i===0) {\r\n data.push(\r\n Ti.UI.createTableViewRow({title: 'Row '+i, color : \"#090\", font : {fontSize : 60, fontWeight : \"bold\"}})\r\n );\r\n } else {\r\n data.push(\r\n Ti.UI.createTableViewRow({title: 'Row '+i})\r\n );\r\n }\r\n}\r\n*/\r\n\r\nvar table = Titanium.UI.createTableView ({\r\n data : data\r\n});\r\n\r\nwin.add (table);\r\nwin.open();\r\n{code}\r\n\r\nThis might be related to TIMOB-1193.", "attachment": [ { "id": "25814", "filename": "Screen Shot 2012-02-16 at 6.45.41 PM.png", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2012-02-16T18:48:45.000+0000", "size": 46656, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Tables: Rows created with anonymous objects randomly styled", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": "Tested on 1.8.1 release and 1.9.0.v20120209110134, Android Emulator, and on device (Droid original and Galaxy Nexus)", "comment": { "comments": [ { "id": "242900", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\nDevice: Samsung galaxy s duos Android version: 4.0.4\n\njithinpv", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-19T12:59:57.000+0000", "updated": "2013-03-19T12:59:57.000+0000" }, { "id": "423532", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-05T18:04:07.000+0000", "updated": "2017-07-05T18:04:07.000+0000" }, { "id": "453596", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It has been decided that this issue should be closed as “Won’t do.” This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. \r\n\r\nIf community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-09T21:33:35.000+0000", "updated": "2020-01-09T21:33:35.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }