Closed Bug 869817 Opened 12 years ago Closed 12 years ago

[Email] "Last Sync:" value at folder screen is not displayed properly with IMAP accounts

Categories

(Firefox OS Graveyard :: Gaia::E-Mail, defect, P2)

ARM
Gonk (Firefox OS)

Tracking

(blocking-b2g:leo+, b2g18 fixed, b2g18-v1.0.1 affected)

RESOLVED FIXED
1.1 QE2 (6jun)
blocking-b2g leo+
Tracking Status
b2g18 --- fixed
b2g18-v1.0.1 --- affected

People

(Reporter: leo.bugzilla.gaia, Assigned: leo.bugzilla.gaia)

Details

(Whiteboard: [TD-24256])

Attachments

(3 files)

1. Title : "Last Sync:" value at folder screen is not displayed properly with IMAP accounts 2. Precondition : Email should be working and an IMAP account is configured 3. Tester's Action: Launch Email -> upon receiving messages -> Go to folder screen. 4. Detailed Symptom (ENG.) : "Last Sync:" is always 7hr ago or empty 5. Expected :Last Sync should be displayed properly. 6.Reproducibility: Y 1)Frequency Rate : 100% 7.Gaia Master/v1-train : Reproduced 8.Gaia Revision: 3c199e889364a0cc20f1b13a37eb309364a73de9 9.Personal email id: psingapati@gmail.com
Attachment always shows last sync 7hrs ago. I believe the folder.lastSyncedAt is coming as NULL from the gelam. Please check
One more issue observed related to time stamp, The attached image contains mails shows in wrong order. Please check
Flags: needinfo?(bugmail)
(In reply to psingapati from comment #2) > Created attachment 746887 [details] > Emails List not shown properly > > One more issue observed related to time stamp, > The attached image contains mails shows in wrong order. > > Please check This needs to be a different bug. Whatever's going on is definitely a different code path.
Flags: needinfo?(bugmail)
Whiteboard: [TD-24256]
Target Milestone: --- → 1.1 QE2
Priority: -- → P2
Assignee: nobody → leo.bugzilla.gaia
blocking-b2g: --- → leo+
Attached file Pull Request pointer
lastSyncedAt is assigned with NOW() as endTS is used along with TimeZone offset. Please review it.
Attachment #751267 - Flags: review?(bugmail)
Attachment #751267 - Attachment mime type: text/plain → text/html
Comment on attachment 751267 [details] Pull Request pointer r=asuth. Note that this only fixes the time offset problem. While testing I realized that our problem where we don't set the value at startup is related to a this/self problem in onFoldersSplice inside a forEach. So only the logic in onFoldersChange works. Changing 'this' to 'self' in that case corrects the problem. I'm going to treat that as a required review change and land that with the GELAM change in gaia. Thanks very much for the fix!
Attachment #751267 - Flags: review?(bugmail) → review+
Uplifted feee2701e8dc5d226331a5ce9682f2b61057b012 to: v1-train: 78bc92bad902d7c35feb842f04f2498f07f47241
Flags: in-moztrap?
Flags: in-moztrap? → in-moztrap?(cschmoeckel)
In MozTrap added Email Suite Test Case #9012 - [Email] Verify that the "Last Sync" field is updated and displayed correctly for IMAP email accounts
Flags: in-moztrap?(cschmoeckel) → in-moztrap+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: