Git Product home page Git Product logo

Comments (8)

nguyenkims avatar nguyenkims commented on July 20, 2024

For now I don't have any idea as refreshing seems to solve the issue as the server doesn't use any cache. Can you check in the server log if you see any error?

from simple-login-android.

Spitfireap avatar Spitfireap commented on July 20, 2024

For now I don't have any idea as refreshing seems to solve the issue as the server doesn't use any cache. Can you check in the server log if you see any error?

ok found it (kind of). def get_alias(alias_id) returns me the right number, but get_alias_v2 returns me 0 on nb_block, nb_forward, etc. After refreshing the app it must update the db, by getting alias through get_alias(alias_id) ? I'm not good enough in db stuff to completely understand the table/research you have :).

Note get_alias_v2 do return email bounce, forwarded and blocked but count is at 0.

At the end, android app is more a solution than a bug :)

from simple-login-android.

Spitfireap avatar Spitfireap commented on July 20, 2024

To add up, new email are added to the counter.
For instance, if I have a counter that should have 3 nb_forward pre-4.6.2, and has 0 post-4.6.2, any new forwarded email will increment this counter by 1 (when refreshing from main alias page -the one that displays them all-). So issue seems to be on search term on the API side or on db... :)

from simple-login-android.

nguyenkims avatar nguyenkims commented on July 20, 2024

The difference between get_alias and get_alias_v2 is the former uses get_alias_infos_with_pagination() whereas the latter uses get_alias_infos_with_pagination_v3 which is also used by the web. Do you see the same issue (i.e. 0 counter) on the web dashboard?

from simple-login-android.

Spitfireap avatar Spitfireap commented on July 20, 2024

Yes same happens on the web. On global alias page counter are wrong but on individual alias detail (/dashboard/alias_log/X) it is the right number

Tbc counter are not 0 but they restart at 0 from migration to 4.6.2-beta. Detail page shows from real alias creation

from simple-login-android.

nguyenkims avatar nguyenkims commented on July 20, 2024

Do you mean this one here is wrong?
image

but the one here is correct?

image

from simple-login-android.

Spitfireap avatar Spitfireap commented on July 20, 2024

Exactly. Does it thinks email handled in 3.4.0 are more than 2 weeks old ?
Anyway so much research for this small issue is maybe overkill :)

from simple-login-android.

nguyenkims avatar nguyenkims commented on July 20, 2024

@Spitfireap that's my only hypothesis for now. Let's see in 2 weeks if this issue magically goes away :)

from simple-login-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.