{ "id": "63902", "key": "TIMOB-3270", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-05-18T15:29:15.000+0000", "created": "2011-04-15T03:41:00.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "defect", "facebook", "ios", "reported-1.6.0", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-05-18T15:29:15.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": "{html}
The below code will crash every time:
\n\nTitanium.Facebook.dialog('feed', data, function(e){ \n});
\n
\nHowever this will not crash:
\n\nTitanium.Facebook.dialog('feed', data, function(e){\n if (e.success) {\n Gum.log('Facebook Result was = ' + JSON.stringify(e.result));\n } \n});
\n
\nException:
\n2011-03-04 13:15:38.165 LA Times[64028:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString context]: unrecognized selector sent to instance 0xf5232f0'
\n
\nHD ticket related here: http://developer.appcelerator.com/helpdesk/view/75721
\nA full code snippet of our scenario is the following:
\n\nvar data = {\n link: article.getUrl(),\n name: article.getTitle(),\n message: \"\",\n caption: article.getCredit(),\n picture: article.getLeadPhoto() != null ? article.getLeadPhoto().getThumbnailUrl() : \"\",\n description: article.getBrief()\n};\nTitanium.Facebook.dialog('feed', data, function(e) {\n if (e.success) {\n Gum.log('Facebook Result was = ' + JSON.stringify(e.result));\n }\n});
\n
Hey Steve,
\nI can't duplicate this anymore in my test app. Maybe we can hold\noff for this right now until I get more information to you.
Pushed back until Rick can offer me further information; I've\nbeen unable to duplicate.
This is closed. User error by confusing the Dialog with the\nGraph method.