dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #31182
[Bug 1434521] Re: account-polld does not recognize when messages are cleared
I did a bit more debugging here and found out the root cause for this
issue. It's somewhere in the communication between account-polld and the
ubuntu-push-client.
account-polld's postOffice() method fires off some dbus calls which the
ubuntu-push-client responds to with an error message:
2015/04/10 14:47:40.406499 ERROR WatchMethod:
ListPersistent(/com/ubuntu/Postal/4, []interface
{}{"com.ubuntu.developer.webapps.webapp-gmail_webapp-gmail"},
[]interface {}{(*service.DBusService)(0x93ef6000)}) failure:
&errors.errorString{s:"package must be prefix of app id"}
The dbus call can be replicated using the following command and results
in exactly the same error message:
gdbus call --session \
-d com.ubuntu.Postal \
-o /com/ubuntu/Postal/4 \
-m com.ubuntu.Postal.ListPersistent \
com.ubuntu.developer.webapps.webapp-gmail_webapp-gmail
So this has probably nothing to do with the indicator-messages project.
** Changed in: indicator-messages (Ubuntu)
Status: New => Invalid
** Changed in: ubuntu-push (Ubuntu)
Assignee: (unassigned) => Niklas Wenzel (nikwen)
** Changed in: account-polld (Ubuntu)
Assignee: (unassigned) => Niklas Wenzel (nikwen)
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-messages in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1434521
Title:
account-polld does not recognize when messages are cleared
Status in account-polld package in Ubuntu:
New
Status in indicator-messages package in Ubuntu:
Invalid
Status in ubuntu-push package in Ubuntu:
New
Bug description:
After each reboot, account-polld stops showing incoming emails after displaying 3 notifications.
The reason for that is that account-polld does not recognize when messages are cleared from the messaging indicator and therefore does not show any further notifications.
How to reproduce:
1) Reboot your phone.
2) Send yourself 3 test emails
3) Wait 5 minutes until account-polld has been run
4) You'll see three notifications stating that there are new emails
5) Tap on the "clear all" entry in the notifications indicator
6) Mark your last three emails as read (this is optional)
7) Send yourself another test email
8) Wait 5 minutes again until account-polld has been run
9) No notification about the new unread email is shown
Why does it happen:
When clicking the "clear all" button, the internal cache of previous
messages isn't cleared. Therefore, account-polld still thinks that
there are 3 notifications and does not display any further messages.
Log: http://paste.ubuntu.com/10664183/
Old one: http://paste.ubuntu.com/10634045/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/account-polld/+bug/1434521/+subscriptions