{ "id": "109483", "key": "TIMOB-12737", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-03-19T18:18:31.000+0000", "created": "2013-02-10T12:54:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "regression" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T20:42:56.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": "*Problem description*\r\nThe Ti.Facebook namespace is undefined. See test case and log.\r\n\r\n*Note*\r\nOccurs in recent master builds, but not 3.1.0.v20130128172329.\r\n\r\n*Test case*\r\n{code}\r\nalert(typeof(Ti.Facebook));\r\n// undefined\t\r\nTi.Facebook.appid = '286864348084011';\r\n{code}\r\n\r\n*Log*\r\n{code}\r\n\b= \"#0 ApplicationWindow() at .../app.js:36\";\r\n[TRACE] : \b\b \b line = 71;\r\n[TRACE] : \b\b \b message = \"'undefined' is not an object (evaluating 'Ti.Facebook.appid = '....'')\";\r\n[ERROR] : \b\b \b;\r\n[ERROR] : \b\b \b sourceId = 313881536;\r\n[ERROR] : \b\b \b sourceURL = \"..../ui/common/FirstView.js\";\r\n[ERROR] : \b\b \b}\r\n{code}", "attachment": [ { "id": "35509", "filename": "Bildschirmfoto 2013-02-10 um 13.54.02.png", "author": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-02-10T12:54:39.000+0000", "size": 60344, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Ti.Facebook is undefined", "creator": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "environment": "iOS\r\nTi SDK 3.1.0.v20130213171032, 3.1.0.v20130213152602", "comment": { "comments": [ { "id": "238526", "author": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "body": "I tested it on Android, works fine there. So only iOS Problem.\r\n\r\n3.1.0.v20130213171032", "updateAuthor": { "name": "fincha", "key": "fincha", "displayName": "Alexander Frischbutter", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-02-14T08:51:53.000+0000", "updated": "2013-02-14T08:52:41.000+0000" }, { "id": "238587", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Interesting. I tested it on 3.1.0.v20130213152602 iOS 6 simulator and can also reproduce this. However, on my slightly earlier build 3.1.0.v20130128172329 the problem is not there. So this is clearly a regression.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-14T18:57:04.000+0000", "updated": "2013-02-14T18:57:04.000+0000" }, { "id": "242343", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Facebook moved to its own module. The module will be shipped as part of 3.1.0 SDK.\n\nKS master branch has already been updated to reflect this.\n\nTi.Facebook is now require('facebook') on iOS and Android.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-14T23:24:17.000+0000", "updated": "2013-03-14T23:24:17.000+0000" }, { "id": "413954", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T20:42:56.000+0000", "updated": "2017-03-20T20:42:56.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }