[B2G][Email] Unable to sync data for time period



6 years ago
6 years ago


(Reporter: rbillings, Unassigned)


Firefox Tracking Flags

(Not tracked)


(Whiteboard: testrun 5.1)



6 years ago
Users should be able to sync their email data to a set amount of time. When I sync my email data it does not restrict the time period to what I selected.

As a user I can change the amount of mail that is syncronized to my phone.   I have the option of selecting the number of days, weeks or months.

1) Email> Account settings > Synchronize> Select '1 day'> OK
2) View email account

expected: Emails from the past day are displayed
actual: All emails are displayed
Duplicate of this bug: 822376
Duplicate of this bug: 821415

Comment 3

6 years ago
This issue still occurs with build ID 20121217070202

Comment 4

6 years ago
Able to reproduce issue with Unagi build ID 20121217070202 test cases: #3617, #3616.
Test cases and/or use-cases should be revised.

The situation is that this settings exists as a strong-constraint on ActiveSync because we have to tell the ActiveSync server exactly how many messages we want.  There is no cheap or easy way for us to extend the date range we have synchronized.

However, for IMAP, we can easily extend the synchronized date range and so are not bound by this setting.  We only refresh the synchronization data for messages when we display them, so there is no real cost to keeping synchronized messages cached other than disk space usage.  However, when we do cleanup our disk usage for a folder, we *do* use this setting to determine which message we should keep.  If this value is set to '1 day', we are willing to discard all messages older than 1 day.  If this setting is set to '2 weeks', we will keep at least 2 weeks of data.

Before we removed periodic automatic synchronization, we were thinking about using this setting to determine what time interval we should actively resynchronize to make sure all flags were up-to-date, etc.

Arguably, it might be appropriate for us to make the current setting specific to ActiveSync and create at least a differently labled setting in the UI that is more consistent with how IMAP uses the setting.

Comment 6

6 years ago
Issue repros in Build 20130104070203.  Issue repros with an Activesync, IMAP and IMAP + SMTP account

Unagi Build ID:20130104070203 (Testrun2 for V1.0)

- All settings work perfectly for ActiveSync
- Synchronize option menu for IMAP (gmail, yahoo) seems useless (misleading) as user is not able to set up how many messages to display, different number of messages is shown with different date range for different webmail boxes no matter of what is selected in Settings

Comment 8

6 years ago
UCID: email-065

Link: https://moztrap.mozilla.org/results/case/61831/

Test Case: #3616
Whiteboard: testrun 2

Comment 9

6 years ago
This issue does not repro when talking about Activesync.  Does repro with other email accounts such as google, yahoo or hotmail.  Build 20130115070201 on Kernel Dec 5th

Comment 10

6 years ago
However just retested with two different unagi devices build 20130115070201 on Kernel Dec 5th and hotmail/activesync is no longer working as well.  Changed sync date from Automatic to one day, 1 week and 1 month,  Nothing showed on any of these. Do have more then 2 emails in the inbox on computer.

Comment 11

6 years ago
Issue repros.  When you change sync date from Automatic to one day in hotmail/activesync it no longer shows any email in the inbox.  If you change it back to Automatic afterwards it still will continue to show nothing.  For Imap/Pop email account it does not work as well but shows same thing as before you changed sync time, nothing changes, as noted would happen above.  

Build ID: 20130130070201
Kernel: Dec 5
Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/4593f3e765eb
Gaia   f7f5a0cd17e3d04308cc5850b254947e127122b9


6 years ago
Whiteboard: testrun 2 → testrun 4


6 years ago
Blocks: 829328
Jeni, FYI, comment 10/11 is a different bug and should have been filed at that time.  Bug 834448 covers your issue and should be fixed now in master.  I would have to double check if it is in the nightly build.

I believe that we will revisit the test cases for Activesync for the "Load more messages" based on comment 5.  Having said that, for gmail, it is still valid and so was this bug at the time when it was written.  Closing this bug as WFM.
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME


6 years ago
Whiteboard: testrun 4 → testrun 5.1
You need to log in before you can comment on or make changes to this bug.