{ "id": "113051", "key": "AC-2178", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-04-19T23:17:58.000+0000", "created": "2013-04-18T08:49:40.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:10.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Steps to duplicate:\r\n1) Create new iPhone ios project in Titanium studio\r\n2) Use \"popIn\" (Alloy.builtins.animation) and animate any window or view\r\n3) Run in iOS Simulator\r\n\r\nIt throws the below error, during runtime when it tries to do the animation.\r\n\r\n*Log*\r\n{code}\r\n[ERROR] : \b\b \bScript Error {\r\n[ERROR] : \b\b \b backtrace = \"#0 animateTestWindow() at file://localhost/Users/iosdev1/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/CCB13CF0-8E62-4C77-BB5C-1E7E48516612/TestApp.app/alloy/controllers/index.js:5\";\r\n[ERROR] : \b\b \b line = 105;\r\n[ERROR] : \b\b \b message = \"Can't find variable: OS_IOS\";\r\n[ERROR] : \b\b \b name = ReferenceError;\r\n[ERROR] : \b\b \b sourceId = 283940352;\r\n[ERROR] : \b\b \b sourceURL = \"file://localhost/Users/iosdev1/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/CCB13CF0-8E62-4C77-BB5C-1E7E48516612/TestApp.app/alloy/animation.js\";\r\n[ERROR] : \b\b \b}\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Script Error: Can't find variable: OS_IOS ", "creator": { "name": "sureshb", "key": "sureshb", "displayName": "Suresh Bsub", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sureshb", "key": "sureshb", "displayName": "Suresh Bsub", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "OS X Mountain Lion 10.8.2, Titanium Studio, Titatnium SDK 3.1.0.GA", "comment": { "comments": [ { "id": "248465", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{quote}\"Use \"popIn\" (Alloy.builtins.animation) and animate any window or view\"{quote}\r\n\r\nIf that requires code, please provide a test case we can drop into a project and run.\r\n\r\nThanks.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-19T23:17:58.000+0000", "updated": "2013-04-19T23:17:58.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }