Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analytics Page Bug - Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location #1821

Open
rpmcoding opened this issue Apr 8, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@rpmcoding
Copy link

rpmcoding commented Apr 8, 2024

Version:

  • listmonk: v3.0
  • OS: Ubuntu

Description of the bug and steps to reproduce:

Go to analytics page, select a campaign and select a timeframe of around a year and click the blue search button.

Get this error in the console

index-kDoPtQrv.js:41 Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: "/campaigns/analytics?id=20". at ga (https://listmonk.********.co/admin/static/index-kDoPtQrv.js:41:17751) at IO (https://listmonk.********.co/admin/static/index-kDoPtQrv.js:41:17330) at Xe.confirmTransition (https://listmonk.********.co/admin/static/index-kDoPtQrv.js:41:20445) at Xe.transitionTo (https://listmonk.********.co/admin/static/index-kDoPtQrv.js:41:19787) at t.push (https://listmonk********.co/admin/static/index-kDoPtQrv.js:41:23117) at https://listmonk.********.co/admin/static/index-kDoPtQrv.js:41:27820 at new Promise (<anonymous>) at ae.push (https://listmonk.********.co/admin/static/index-kDoPtQrv.js:41:27784) at o.onSubmit (https://listmonk.********.co/admin/static/CampaignAnalytics-v_l3a_aZ.js:1:2190) at submit (https://listmonk.********.co/admin/static/CampaignAnalytics-v_l3a_aZ.js:1:3901)

##########

I also get this error in the console around a minute later.

GET https://listmonk.*****.co/api/events?type=error 504 (Gateway Time-out)

@knadh knadh added the needs-investigation Potential bug. Needs investigation label Apr 9, 2024
@mpilnan
Copy link
Contributor

mpilnan commented Apr 12, 2024

To me, this occurs with any attempt to change the analytics timeframe, not just around a year.

The data does not seem to load as a result, which makes viewing older analytics impossible.

@rpmcoding
Copy link
Author

Seems like a major bug...

@MaximilianKohler
Copy link
Contributor

It works for me on v2.5.1.
Screenshot 2024-04-12 075745

@rpmcoding
Copy link
Author

Yep, was working fine in v2. Seems to be a new bug in v3.

@knadh
Copy link
Owner

knadh commented Apr 13, 2024

Able to replicate this issue on the 3.0.0 demo. https://demo.listmonk.app/admin/campaigns/analytics?id=2

This is confirmed as a bug. Don't know how I missed this, darn! Will add a frontend testcase for this also.

@knadh knadh added bug Something isn't working and removed needs-investigation Potential bug. Needs investigation labels Apr 13, 2024
@knadh knadh self-assigned this Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants