linagora / tmail-flutter

A multi-platform (Flutter) application for reading your emails, with your favorite devices, using the JMAP protocol!
GNU Affero General Public License v3.0
324 stars 73 forks source link

unread counter and unread emails show not matched #929

Closed hoangdat closed 1 year ago

hoangdat commented 2 years ago

OpenPaaS:

Screen Shot 2022-09-08 at 10 24 58

TeamMail:

Screen Shot 2022-09-08 at 10 25 48

@chibenwa @Arsnael Can you check that problem? IMO, it come from back-end site

chibenwa commented 2 years ago

Can you retry?

hoangdat commented 2 years ago

Still in openpaas and teammail

image
Arsnael commented 2 years ago

Known inconsistency issue (welcome to cassandra). We have a webadmin task to fix it no? Or is it what you ran @chibenwa but maybe it does not work anymore?

Arsnael commented 2 years ago

Actually I double checked...

I could spot similar issue on my openpaas.linagora.com...

Then I checked my account on TB... where I could see the missing messages (that I cannot on OpenPaas) Marked them as read on TB, then the counter cleared out on jmap...

But why they don't appear on openpaas and Tmail? I would likely agree with @hoangdat that there might be some issue in the backend regarding the jmap api. We seem to have many problems with jmap since we switched to BoundedElastic and cass driver 4 so...

@hoangdat can you confirm that if you look your account in TB you see the missing emails from the counter?

hoangdat commented 2 years ago

can you confirm that if you look your account in TB you see the missing emails from the counter?

yes, via the Mail client in Apple (SMTP/IMAP) every mail are ok

Arsnael commented 2 years ago

FYI: https://github.com/linagora/james-project/issues/4612

It might be a tough one to find the cause and fix though so I'm not sure when it will be solved... but thanks for the report!