{ "id": "99655", "key": "TIMOB-10571", "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": "14064", "description": "Sprint 2012-17 Core", "name": "Sprint 2012-17 Core", "archived": true, "released": true, "releaseDate": "2012-08-27" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-23T14:11:06.000+0000", "created": "2012-08-23T09:45:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "mobileweb", "qe-port" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "20757", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "99327", "key": "TIMOB-10470", "fields": { "summary": "MobileWeb: Attempting to animate a view that isn't attached to the screen causes a crash.", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-01-16T09:55:55.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "Animations are causing an error \"Cannot read property '_layout' of undefined\" when they are trying to run on an item that is not yet attached to a the window.\r\n\r\nh4. Steps to repro:\r\n1. run the code below\r\n2. click the window\r\n3. notice the error \"Cannot read property '_layout' of undefined\"\r\n\r\n{code:js}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\nwin.open();\r\n\r\nwin.addEventListener('click', function(){\r\n\tvar view = Ti.UI.createView({\r\n\t\theight: 50,\r\n\t\twidth: 50,\r\n\t\tbackgroundColor: 'blue'\r\n\t});\r\n\r\n\tview.animate({\r\n\t\ttop: 0,\r\n\t\tduration: 300\r\n\t});\r\n});\r\n{code}\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "MobileWeb: animation - is throwing Cannot read property '_layout' of undefined", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 2.2.0.v20120821151712\r\nChrome Version 21.0.1180.79", "comment": { "comments": [ { "id": "215845", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull Request: https://github.com/appcelerator/titanium_mobile/pull/2815", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-23T11:27:54.000+0000", "updated": "2012-08-23T14:00:37.000+0000" }, { "id": "234583", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed.\nChecked, tested and verified with:\nJohn Alter\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK, build: 3.0.0.GA\nChrome 23.0", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-16T09:55:17.000+0000", "updated": "2013-01-16T09:55:17.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }