Account-polld reports no updates, so no gmail notifications
Bug #1495904 reported by
Roascio Paolo
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Bill Filler | ||
account-polld (Ubuntu) |
Fix Released
|
High
|
Jonas G. Drange |
Bug Description
Account-polld works only once if i delete and recreate my gmail account. In this case i get a notification for only one random (a month old) mail in my account (in my test i sent 10 mail that were marked unread).
after that i never get mail notification and account-polld reports success with 0 updates.
here my account-polld log:
http://
system-image-cli -i
current build number: 27
device name: krillin
channel: ubuntu-
last update: 2015-11-20 17:49:34
version version: 27
version ubuntu: 20151118.2
version tag: OTA-8
version device: 20150821-736d127
version custom: 20151111-
Related branches
lp:~jonas-drange/account-polld/missing-gmail-notifications
- Niklas Wenzel (community): Needs Fixing
- Bill Filler (community): Needs Fixing
- PS Jenkins bot: Approve (continuous-integration)
- Ubuntu Push Hackers: Pending requested
-
Diff: 40 lines (+11/-5)1 file modifiedplugins/gmail/gmail.go (+11/-5)
Changed in canonical-devices-system-image: | |
assignee: | nobody → Bill Filler (bfiller) |
importance: | Undecided → Medium |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
milestone: | none → backlog |
Changed in account-polld (Ubuntu): | |
status: | Triaged → New |
description: | updated |
Changed in canonical-devices-system-image: | |
milestone: | ww02-2016 → ww08-2016 |
Changed in account-polld (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in account-polld (Ubuntu): | |
status: | Incomplete → In Progress |
Changed in account-polld (Ubuntu): | |
status: | In Progress → Incomplete |
Changed in canonical-devices-system-image: | |
status: | Confirmed → Incomplete |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Some more tests (sorry for my bad english):
if in the received mail page there is a couple of mail (~50 in my case, some read and others no), account-polld reports only the last mail which sender don't already exists in the list (so only the first time the sender sends a mail, after this it's address is already in the page and new messages from him are ignored)
I receive periodic mails from my home automation system and them are never notified, the same for mails from google or launchpad. only new senders, only once.
I expect somehing like account-polld caches the timestamp (or something like) of the last mail notified and then periodically check only for more recent matches, if the match is true, then notifies the mail and caches the new timestamp. And so on. This regardless of the sender.
Although i admit that my test results are in contrast with the case when the account is deleted and then recreated in the phone. In that case, only the oldest unread mail is notified.