Closed Bug 833452 Opened 13 years ago Closed 12 years ago

[email] Importing a gmail account into the email app is listing all emails as "unread," even though the server declares them as "read"

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jsmith, Unassigned)

References

Details

Attachments

(1 file)

Attached file Logcat —
Build: B2G 18 1/22/2013 Device: Unagi Steps: 1. Import a gmail account (gmail.com) with a bunch of read messages 2. View the list of messages Expected: The messages that were read should be marked as read in the email app. Actual: All of the emails are listed as unread. Additional Notes: Email Domain: gmail.com Account Creation Error: None Account Type: IMAP+SMTP Logcat Included: Yes
I'm not seeing this on today's nightly with a US gmail account. Fresh sync has correct read-state, and refreshes correctly detect/update flag status. Maybe there is some confusion or complications related to the mismatch between gmail's conversation-centric model and IMAP's message-centric model, especially if the account in question is using other non-IMAP clients to access gmail? I don't think we've ever had problems with read state, so I would count that as more likely. Please confirm with another IMAP client like Thunderbird that the gaia e-mail app is seeing something different than Thunderbird when accessing via similar network path. (It is conceivable but very unlikely that gmail could operate in a split-brain mode where different network paths are talking to different server farms.)
Flags: needinfo?(jsmith)
On thunderbird, after I import my emails from my gmail account, they are coming up as read, not unread. So this appears to be only reoccurring with the email app in Gaia with my gmail account. What other information do you need here?
Flags: needinfo?(jsmith)
It's not clear if you double-checked gaia by nuking the account, kill the e-mail app, restarting the e-mail app, and re-creating the account. If you haven't done that, please do that. Then, please make sure that things don't fix themselves by just hitting "refresh", as that should re-check all flags. The only way to get the data is to run a build with maximum/dangerously entrained user data logging on (the thing accessible from the secret debug menu) and check that out. Because our saving of those logs to disk is still broken, it's the kind of thing that's easier if I do, but that assumes the account is a test account that you can shoot me the credentials for. Since you don't normally QA e-mail, I'm assuming you're dogfooding and that's not the case... ...so then the dream would be to find someone who can repro on a testing account.
Summary: Importing a gmail account into the email app is listing all emails as "unread," even though the server declares them as "read" → [email] Importing a gmail account into the email app is listing all emails as "unread," even though the server declares them as "read"
Anyone trying to reproduce this, please also check for duplicate messages in the folder that are not actually duplicated in the mailbox. (For example, dev-gaia has tons of near-duplicate posts to it thanks to our mail gateway; those don't count.) If we screw up and synchronize a message twice or simply report it to the UI twice, we will only update the header flags for one of them.
Invalidating after a looong time with no repros or dupes.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: