{ "id": "62832", "key": "TIMOB-2200", "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": "11227", "name": "Release 1.5.0 M02", "archived": true, "released": true, "releaseDate": "2010-11-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:23.000+0000", "created": "2011-04-15T03:13:19.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "facebook" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:58:23.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": "{html}

This occurs in todays pull and in 1.4.1.1. In 1.6 and 2.2.

\n

1.KS>Mashups>Facebook
\n2.Log in test, tap log in button

\n

results: a blank page appears, output is:

\n

D/KrollContext( 1287): (kroll$7) [716,9981877] Running evaluated\nscript: app://examples/facebook_login_logout.js
\nD/FBSession( 1287): FBUserId = 0
\nD/TiFacebook( 1287): (main) [1293,9983170] EXECUTE LOGIN CALLED
\nI/ActivityManager( 76): Starting activity: Intent {\nact=login_dialog\ncmp=com.appcelerator.KitchenSink/ti.modules.titanium.facebook.FBActivity\n(has extras) }
\nI/ActivityManager( 76): Process com.android.calendar (pid 1406) has\ndied.
\nD/FBDialog( 1287): FBDialog onStart
\nD/FBDialog( 1287): FBDialog onResume
\nE/TiUIView( 1287): (main) [2040,9985210] TAP, TAP, TAP on\n[Ti.Facebook.LoginButton]
\nD/dalvikvm( 1287): GC freed 7462 objects / 711784 bytes in\n197ms
\nI/ActivityManager( 76): Displayed activity\ncom.appcelerator.KitchenSink/ti.modules.titanium.facebook.FBActivity:\n2725 ms (total 2725 ms)

{html}", "attachment": [], "flagged": false, "summary": "Android - facebook log in failure ", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127790", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [d965244922008868150c1020306995ec558862cd])\n[#2200] First push of using oauth in 1_4_X\nfacebook module. Can be disabled by passing oauth:false as\ncreation arg in createLoginButton(), but at the moment the old,\nnon-oauth way is not working. \nhttp://github.com/appcelerator/titanium_mobile/commit/d965244922008...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:13:19.000+0000", "updated": "2011-04-15T03:13:19.000+0000" }, { "id": "127791", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Standardizing the title and putting ticket into open state since\nit's being actively worked.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:13:19.000+0000", "updated": "2011-04-15T03:13:19.000+0000" }, { "id": "127792", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [2a27cc83c8f8f63a1a2ac68d600c0b489129a530])\n[#2200] Facilitate adding FB permissions via the\nnew oauth mechanism. \nhttp://github.com/appcelerator/titanium_mobile/commit/2a27cc83c8f8f...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:13:19.000+0000", "updated": "2011-04-15T03:13:19.000+0000" }, { "id": "127793", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [3a7d5140b26a538e1852a56148ac3aa27599bcfc])\n[#2200 state:fixed-in-qa] Round out the grafting\nof OAUTH login/authorizations on old API. \nhttps://github.com/appcelerator/titanium_mobile/commit/3a7d5140b26a...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:13:20.000+0000", "updated": "2011-04-15T03:13:20.000+0000" }, { "id": "127794", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

reopening because i need to cherrypick to 1.5

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:13:20.000+0000", "updated": "2011-04-15T03:13:20.000+0000" }, { "id": "127795", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

Login & authorization fixed now in 1.5 as well.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:13:20.000+0000", "updated": "2011-04-15T03:13:20.000+0000" }, { "id": "127796", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [09a41c5b8215369533adbc33ec2f18f3d7808429])\n[#2200] First push of using oauth in 1_4_X\nfacebook module. Can be disabled by passing oauth:false as\ncreation arg in createLoginButton(), but at the moment the old,\nnon-oauth way is not working. \nhttps://github.com/appcelerator/titanium_mobile/commit/09a41c5b8215...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:13:20.000+0000", "updated": "2011-04-15T03:13:20.000+0000" }, { "id": "127797", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [f6caabb6fa7a6dbeafece870ffd4dc35aeeff56e])\n[#2200 state:fixed-in-qa] Round out the grafting\nof OAUTH login/authorizations on old API.

\n

fixed Conflicts:

\n
\nandroid/modules/facebook/src/ti/modules/titanium/facebook/FacebookModule.java\n
\n

\nhttps://github.com/appcelerator/titanium_mobile/commit/f6caabb6fa7a...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:13:20.000+0000", "updated": "2011-04-15T03:13:20.000+0000" }, { "id": "127798", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [e2b8d5c62d7dbde94fa35698aaac830f23164f43])\n[#2200] Facilitate adding FB permissions via the\nnew oauth mechanism. \nhttps://github.com/appcelerator/titanium_mobile/commit/e2b8d5c62d7d...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:13:21.000+0000", "updated": "2011-04-15T03:13:21.000+0000" }, { "id": "127799", "author": { "name": "mcsee", "key": "mcsee", "displayName": "mcsee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

hi Bill

\n

what can we do in 1.4.1 to workaround this issue ?

{html}", "updateAuthor": { "name": "mcsee", "key": "mcsee", "displayName": "mcsee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:13:21.000+0000", "updated": "2011-04-15T03:13:21.000+0000" }, { "id": "127800", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This behavior persists in 1.5.0.fb4b340. G2 (2.2) 2.1\nemulator

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:13:21.000+0000", "updated": "2011-04-15T03:13:21.000+0000" }, { "id": "127801", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

It was intended for 1.5 (I should've changed the milestone back\nthen) because we planned to adopt the whole new Facebook SDK by\nthen. It was only a 1_4_X fix for people who wanted to build\nit.

\n

But in fact we dropped the new Facebook SDK from 1.5 milestones,\nso indeed we WILL need to do at least this OAUTH support for 1.5.\nCrap! :)

\n

I'll cherry-pick the commits over.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:13:22.000+0000", "updated": "2011-04-15T03:13:22.000+0000" }, { "id": "127802", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

Gosh, I must be confused. I already cherry-picked this to 1.5 on\n11/3/10. @Thomas, I have no trouble running this in 1.5. Did it\njust now with my 2.2 device and 2.1 emulator.

\n

I used build 069c20a (very recent) because I couldn't even get\nKS to launch with the build you mentioned.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:13:22.000+0000", "updated": "2011-04-15T03:13:22.000+0000" }, { "id": "127803", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

closing against 1.5.0.91838a G2 (2.2), Droid 1 (2.2)

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:13:22.000+0000", "updated": "2011-04-15T03:13:22.000+0000" } ], "maxResults": 14, "total": 14, "startAt": 0 } } }