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

/api/v1/log/recent_activity/1/?q=(page_size:6) does not return recent activity #24414

Closed
3 tasks done
iamzoltan opened this issue Jun 16, 2023 · 2 comments
Closed
3 tasks done

Comments

@iamzoltan
Copy link

iamzoltan commented Jun 16, 2023

Basically everything seems to be working fine. As far as I can tell, all the endpoints are working as they should, except for recent_activity.

How to reproduce the bug

When ever I go to the home page, I get this error:

There was an issue fetching your recent activity: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

Expected results

I expect to see the recent activity

Actual results

recent activity never loads

Environment

  • browser type and version: chromium
  • superset version: lastest version from repo, using docker compose, non-dev version
  • behind nginx proxy

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

this is the endpoint that seems borked:

/api/v1/log/recent_activity/1/?q=(page_size:6)

@iamzoltan
Copy link
Author

iamzoltan commented Jun 16, 2023

if I had to guess, its that the end point changed for recent activity, to no longer include the user_id, but the LogDao class from views.log.dao still builds the url string with the user_id in it.

I believe its related to the closed PR #24400

@iamzoltan
Copy link
Author

nevermind, looks it was was address on #24420

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant