{ "id": "91597", "key": "TIMOB-9059", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-06-14T18:16:32.000+0000", "created": "2012-05-08T12:17:20.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "13273", "description": "Release 2.0.2", "name": "Release 2.0.2", "archived": false, "released": true, "releaseDate": "2012-05-31" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-06-14T18:16:40.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": "Details: While testing a feature for ACS, I noticed when you login to Facebook, the default language will be set to Indonesian. You can get around this by switching to English at the bottom of the login screen.\r\n\r\nSteps to reproduce:\r\n1. Get and launch KS from 2_0_X branch\r\n2. Go to Mashups > Login/Logout\r\n3. Press Login with Facebook\r\n\r\nActual: Login window will appear in Indonesian. See attachments.\r\nExpected: Login window should appear in English or the default language set by developer.\r\n\r\nNote: This is *not* a regression. Appears in 1.8.2 and 2.0.1.GA2.", "attachment": [ { "id": "27590", "filename": "droid_indonesia.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-08T12:17:20.000+0000", "size": 57341, "mimeType": "image/png" }, { "id": "27589", "filename": "ios_indonesia.png", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-08T12:17:20.000+0000", "size": 89183, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Facebook Login - If you login to Facebook, the default language is set to Indonesian", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "SDK build: 1.8.2, 2.0.1.GA2, 2.0.2.v20120505151714\r\nRuntime: v8\r\nxcode: 4.3.2\r\nDevices: Droid 1 (2.2.3), iphone 4s verizon (5.0.1)", "comment": { "comments": [ { "id": "194379", "author": { "name": "fsniper", "key": "fsniper", "displayName": "Onur YALAZI", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Same situation with Chinese. I'm a Turk. But I use English locale and settings everywhere. my Facebook is in English. I do not know where this Chinese selection comes from.", "updateAuthor": { "name": "fsniper", "key": "fsniper", "displayName": "Onur YALAZI", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-10T05:54:30.000+0000", "updated": "2012-05-10T05:54:30.000+0000" }, { "id": "194380", "author": { "name": "fsniper", "key": "fsniper", "displayName": "Onur YALAZI", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Facebook login is Chinese in Android emulator and my Galaxy S2", "updateAuthor": { "name": "fsniper", "key": "fsniper", "displayName": "Onur YALAZI", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-10T05:57:49.000+0000", "updated": "2012-05-10T05:57:49.000+0000" }, { "id": "194381", "author": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I am seeing this also with Ingia in place of the word Login on the Facebook login web view, which Google tells me is Swahili.\r\n\r\nSwahili? Really? I certainly haven't selected this in the code anywhere.", "updateAuthor": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-10T06:22:37.000+0000", "updated": "2012-05-10T06:22:37.000+0000" }, { "id": "194382", "author": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Some more feedback on this. If I scroll down in the Facebook module's web view and select \"English (US)\" the page button text will change to English, however it introduces another problem. The new problem is that it is somehow triggering Facebook to maintain the Facebook app connection and asks if I want to install the mobile app, hitting cancel loads the Facebook main page after login (mobile version) still in the module's web view. If I close the web view by clicking the X in top right, this has the negative affect of not firing the event handler for the login. Which means the app appears to not do anything since the rest of the app is excepting to continue when the login event handler fires from the Facebook module.\r\n\r\nWe are very close to releasing an app that is very much tied to Facebook. I believe there really could be 2 or 3 issues here.\r\n\r\n1) wrong language showing up (unknown reason)\r\n\r\n2) selecting language option on the module web view Facebook rendering is failing to let the module close the web view after the login process and the web view continues to act like web browser on the Facebook page\r\n\r\n3) when closing the web view using the X, even if having logged in successfully to Facebook (due to item 2) the login event never fires - regardless of issue 2), the module should fire the login event if the user actually logged in because too much of how we code around this is relying on this event\r\n", "updateAuthor": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-10T06:40:59.000+0000", "updated": "2012-05-10T06:40:59.000+0000" }, { "id": "194389", "author": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "body": "More research into this seems to suggest that the item 1) from my list above, the issue that is raised here with this JIRA ticket is actually occurring on mobile Facebook auth/login out side of Titanium.\r\n\r\nhttp://developers.facebook.com/bugs/407246299295529\r\n\r\nhttp://www.facebook.com/help/community/question/?id=2168858\r\n\r\nHowever, the other two items mentioned in my above comment seemed to be revealed as standalone issues with the Titanium Facebook module by this issue. If for whatever reason the Facebook language issue goes away, these other 2 items are still potential pitfalls that need to be addressed. \r\n\r\nfrom above comment, the issues here are\r\n\r\n2) the module should not let its content navigation to continue once it has authorized the user (this is happening after changing the language)\r\n\r\n3) when closing the module's window through the X, if the user was authenticated and 1) or similar occurred, then the login even should fire (perhaps as an event on the web view close in the module)\r\n\r\n\r\n\r\n\r\n", "updateAuthor": { "name": "patakijv", "key": "patakijv", "displayName": "John V Pataki", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-10T07:56:22.000+0000", "updated": "2012-05-10T07:56:22.000+0000" }, { "id": "198630", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "As per Vishal's comment, will close bug as cannot reproduce. Bug did not appear again. Tested on:\r\n\r\nSDK build: 2.1.0.v20120614172251\r\nTitanium Studio, build: 2.1.0.201206131907\r\nDevice: Droid 1 (2.2.2), iphone 4s sprint (5.1)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-14T18:08:44.000+0000", "updated": "2012-06-14T18:08:44.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }