Closed
Bug 1164999
Opened 9 years ago
Closed 8 years ago
[Contacts][Facebook][RTL] First Time Syncing an account, Facebook share browser displays in Arabic language; next time through Sync will display in English
Categories
(Web Compatibility :: Site Reports, defect, P5)
Tracking
(b2g-v2.0 affected, b2g-v2.1 affected, b2g-v2.2 affected, b2g-master affected)
People
(Reporter: onelson, Unassigned)
References
()
Details
(Whiteboard: [3.0-Daily-Testing])
Description:
When the user is in an RTL language (Arabic), and proceeds to sync their Facebook account with their Contacts app, they will observe the Facebook activity display in Arabic, matching the phone's language. Afterwards, if they were to unsync this session and attempt to sync their Facebook account again, the user will observe Facebook display in English instead of the phone's native Arabic.
PreReq:
* phone is set to arabic
Repro Steps:
1) Update a Flame to 20150514010203
2) Open the Contacts app
3) Sync a Facebook account to your Contacts
4) Unsync the account
5) Attempt to sync to Facebook a second time
Actual:
Facebook share browser now displays in English, instead of Arabic which would match the phone
Expected:
Facebook share browser always matches the language of the phone (Arabic)
Environmental Variables:
----------------------------------
Device: Flame 3.0
Build ID: 20150514010203
Gaia: 338f66e6a96491d2f5854b188c6b141ceb690d97
Gecko: 1fab94ad196c
Gonk: 040bb1e9ac8a5b6dd756fdd696aa37a8868b5c67
Version: 41.0a1 (3.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:41.0) Gecko/41.0 Firefox/41.0
Device: Flame 2.2
BuildID: 20150514002501
Gaia: aac58a063e3e6acae6ba77fe4cec224fb69450bc
Gecko: 47f1ced9f1d6
Gonk: ab265fb203390c70b8f2a054f38cf4b2f2dad70a
Version: 37.0 (2.2)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
Device: Flame 2.1
BuildID: 20150512001201
Gaia: c80865cb0bf73f1b97defbc646083b404feb3ac4
Gecko: 2fd3ef3fc14a
Gonk: ab265fb203390c70b8f2a054f38cf4b2f2dad70a
Version: 34.0 (2.1)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
Device: Flame 2.0
BuildID: 20150514000201
Gaia: 84898cadf28b1a1fcd03b726cff658de470282f0
Gecko: 449ae5977a0c
Gonk: ab265fb203390c70b8f2a054f38cf4b2f2dad70a
Version: 32.0 (2.0)
Firmware Version: v18D-1
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
----------------------------------
Repro frequency: 5/5
See attached:
video- https://youtu.be/KMCOqEvDyw0
logcat
Reporter | ||
Updated•9 years ago
|
QA Whiteboard: [QAnalyst-Triage?][rtl-impact]
Flags: needinfo?(pbylenga)
Seems to have been around for a long time, However arabic was not supported on the device on 2.1 and 2.0. Possible issue with facebook rather than contacts. NI contacts owner for input on this issue.
QA Whiteboard: [QAnalyst-Triage?][rtl-impact] → [QAnalyst-Triage+][rtl-impact]
Flags: needinfo?(pbylenga) → needinfo?(jlorenzo)
Comment 2•9 years ago
|
||
From what I see in the network request, we don't specify the expected language:
> https://m.facebook.com/login.php?skip_api_login=1
> &api_key=$API_KEY
> &signed_next=1
> &next=https://m.facebook.com/v1.0/dialog/oauth?redirect_uri=https%3A%2F%2Fwww.facebook.com%2Fconnect%2Flogin_success.html
> &state=friends
> &scope=friends_about_me%2Cfriends_birthday%2Cfriends_hometown%2Cfriends_location%2Cfriends_work_history%2Cread_stream
> &response_type=token
> &client_id=$CLIENT_ID
> &ret=login
> &cancel_uri=https://www.facebook.com/connect/login_success.html?error=access_denied
> &error_code=200
> &error_description=Permissions+error
> &error_reason=user_denied
> &state=friends#_=_
> &display=touch
> &_rdr
This looks like a problem on Facebook, do you agree Francisco?
Flags: needinfo?(jlorenzo) → needinfo?(francisco)
Comment 3•9 years ago
|
||
Yes,
fb should get the language from the user agent, we shouldn't have to specify it.
Flags: needinfo?(francisco)
Updated•9 years ago
|
Component: Gaia::Contacts → Mobile
Product: Firefox OS → Tech Evangelism
Updated•9 years ago
|
Blocks: b2g-facebook
Updated•8 years ago
|
Priority: -- → P5
Comment 4•8 years ago
|
||
In fact, Facebook should not get the language from the user agent, but possibly from the
Accept-Language: en,fr;q=0.7,en-US;q=0.3
HTTP headers.
So not sure it's relevant anymore. I will close this as INVALID.
But if you feel there's something to do about it, please make sure the right HTTP headers are sent and it's behaving differently in Chrome and Firefox Android.
Then switch to contactready and report to Facebook support team.
Thanks.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Assignee | ||
Updated•6 years ago
|
Product: Tech Evangelism → Web Compatibility
Assignee | ||
Updated•7 months ago
|
Component: Mobile → Site Reports
You need to log in
before you can comment on or make changes to this bug.
Description
•