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

Update topic tag on moderation #6372

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Conversation

akatsoulas
Copy link
Collaborator

No description provided.

Copy link
Contributor

@escattone escattone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I update a question's topic via the moderation view, I still see the old topic tag when I view the question at /en-US/questions/{question_id}. It appears to be due to the redis-based caching of the question's my_tags property. Maybe clear that cache entry when the topic is updated, or else just cache the tags for the lifetime of the question instance by using cached_property instead?

@akatsoulas
Copy link
Collaborator Author

@escattone PR updated

@escattone escattone merged commit 60f391d into mozilla:main Nov 26, 2024
2 checks passed
@akatsoulas akatsoulas deleted the update-topic-tag branch November 26, 2024 17:10
smithellis pushed a commit to smithellis/kitsune that referenced this pull request Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants