Closed
Bug 837277
Opened 13 years ago
Closed 13 years ago
[B2G] [Contacts][Facebook]: Incorrect birthday on contact page from imported facebook contact
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Tracking
(blocking-b2g:-, b2g18+ fixed, b2g18-v1.0.1 fixed)
VERIFIED
FIXED
| blocking-b2g | - |
People
(Reporter: mbyrd, Assigned: crdlc)
Details
(Keywords: regression, smoketest, Whiteboard: testrun 4)
Attachments
(5 files, 1 obsolete file)
Description:
The imported Facebook contact birthday information is not the matching the correct Facebook profile birthday information. This is happens on several contacts, especially if profile birthday is August or September, the contact birthday is December (month only issue), and October profile birthday, contact birthday is September (month and date issue) and others.
Prerequisites:
1. Have a valid Facebook account with several Facebook friends with birthdays to verify.
Repro Steps:
1) Updated to Unagi Build ID: 20130201070203
2) Select contacts app
3) Select contacts settings (upper right corner)
4) Enable Facebook
5.) Enter log in information for Facebook account
6.) Select log in
7.) Choose Select all facebook friends
8.) Select Import
9.) Once import is complete, Open an imported contact
10.) Verify contact page birthdate
11.) From contact page select “View Facebook profile”
12.) Verify profile birthdate either on profile page or in about information (scoll down to basic info> birthday
Expected:
Contact information should match the Facebook profile information
Actual:
Imported Facebook contact birthday information is not the matching the correct Facebook profile birthday information.
Repro frequency:
2 devices, 100% repro of birthday discrepancy
Notes:
Kernel: Dec 5
Gecko: 51daa19d4045669303b77807d5832568e2d1f686
Gaia: 4d1087307c7377b1d4c7d72ba2e90e63cdb8fbc4
** screen shots and logs attached **
| Reporter | ||
Comment 1•13 years ago
|
||
| Reporter | ||
Comment 2•13 years ago
|
||
| Reporter | ||
Comment 3•13 years ago
|
||
| Reporter | ||
Comment 4•13 years ago
|
||
This issue repro in:
Build Id: 20130130070201
Kernel: Dec 5th
Gecko http://hg.mozilla.org/releases/mozilla-b2g18/rev/4593f3e765eb
Gaia f7f5a0cd17e3d04308cc5850b254947e127122b9
Test Suite Name: Facebook
UCID: owd-13749
Test case: # 5258
https://moztrap.mozilla.org/runtests/run/712/env/296/?pagenumber=1&pagesize=100&sortfield=order&sortdirection=asc&filter-id=5258
Incorrect birthday on contact page from imported facebook contact
Whiteboard: testrun 4
Comment 5•13 years ago
|
||
Still repros in Unagi version 20130204070201
Gecko: 2aa2cbcc4e4bc667770eaeaad9c36efeadc1674a
Gaia: b277f372f097c77dd2ec1988a80e458280dda491
Kernal: Dec 5
Comment 6•13 years ago
|
||
should be fixed
Assignee: nobody → crdlc
Status: NEW → ASSIGNED
blocking-b2g: --- → tef?
| Assignee | ||
Comment 7•13 years ago
|
||
The problem was about parsetInt and the radix. If the string begins with "0x", the radix is 16 (hexadecimal) by default so months among 01-09 were December for us. It could be fixed parseInt('monthFromFB', 10). Although I prefer delete all code and how we know the date format we can create a new Date given the date string provided by FB directly.
Attachment #710163 -
Flags: review?(jmcf)
| Reporter | ||
Comment 8•13 years ago
|
||
Smoketest:
Unagi: Build ID: 20130205070201
Kernel: Dec 5
Gecko: 2c84784b9dc17cc7b2eff6af82ccb94270eb6106
Gaia: 5f97bb66a70e0e61b1604f2572dc88cbbc140a10
This issue repros, the Incorrect birthday on contact page from imported facebook.
Comment 9•13 years ago
|
||
Attachment #710163 -
Attachment is obsolete: true
Attachment #710163 -
Flags: review?(jmcf)
Attachment #710567 -
Flags: review?(crdlc)
Comment 10•13 years ago
|
||
(In reply to crdlc from comment #7)
> Created attachment 710163 [details]
> Patch v1
>
> The problem was about parsetInt and the radix. If the string begins with
> "0x", the radix is 16 (hexadecimal) by default so months among 01-09 were
> December for us. It could be fixed parseInt('monthFromFB', 10). Although I
> prefer delete all code and how we know the date format we can create a new
> Date given the date string provided by FB directly.
We cannot do that because some contacts do not disclose their birth year, that's why I'm proposing this alternative patch.
thanks!
| Assignee | ||
Updated•13 years ago
|
Attachment #710567 -
Flags: review?(crdlc) → review+
| Assignee | ||
Comment 11•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 12•13 years ago
|
||
Comment on attachment 710567 [details]
Pointer to GH 7978 PR
NOTE: If blocking-basecamp+ is set, just land it for now.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
User impact if declined: wrong months
Testing completed: yes
Risk to taking this patch (and alternatives if risky): close to null
Attachment #710567 -
Flags: approval-gaia-v1?
Updated•13 years ago
|
blocking-b2g: tef? → -
Updated•13 years ago
|
Attachment #710567 -
Flags: approval-gaia-v1? → approval-gaia-v1+
Updated•13 years ago
|
tracking-b2g18:
--- → +
| Reporter | ||
Comment 13•13 years ago
|
||
Smoketest regression:
This issue still repros in:
build#20130206
Kernel: Dec 5th
Gecko a63eb9592fab5ccd3a3ad87767b3117f328710df
Gaia 9f5a4a9f6d321dbb4805f1f98623e770b0e89698
Keywords: regression
Comment 14•13 years ago
|
||
v1-train: 27734835e6a1eea9aec9c8984f450ac148b11fe4
status-b2g18:
--- → fixed
| Reporter | ||
Comment 15•13 years ago
|
||
Smoketest regression:
This issue still repros in:
build#20130207070202
Kernel: Dec 5th
Gecko cf1b9d27345e70daf242514733f848e76241ea1d
Gaia 7e54ca673277b20b1d91d18477dc44d6ad226761
| Reporter | ||
Comment 16•13 years ago
|
||
Verified fixed in:
Kernel Dec 5th
build#20130208070201
Gecko 83f9c2a31c6404282c3bd44dd2e5c5a3d2b2b539
Gaia cff23a80c41b7de223d27c6a6f1f82f95c9c5f6b
Status: RESOLVED → VERIFIED
Comment 17•13 years ago
|
||
Batch edit: bugs fixed on b2g18 since 1/25 branch of v1.0 are fixed on v1.0.1
status-b2g18-v1.0.1:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•