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

FIX: subscriptions using anonymous user #534

Conversation

johnhenley
Copy link
Collaborator

@johnhenley johnhenley commented Oct 4, 2023

Description of PR...

When adding the 'ban user' feature (#257), added a UserId property to ForumBase in order to pass the author/user to be banned; this conflicted with a UserId global property and caused issues related to subscriptions, such as Quick Reply sending email notifications using 'anonymous' rather than the correct user id.

Changes made

  • correct user id logic
  • added an authorid property rather than userid

How did you test these updates?

tested quick reply before and after and monitored email notifications
image

PR Template Checklist

  • Fixes Bug
  • Feature solution
  • Other
  • Requires documentation updates
  • I've updated the documentation already

Please mark which issue is solved

Close #533

@johnhenley johnhenley added the bug Something isn't working label Oct 4, 2023
@johnhenley johnhenley added this to the 08.00.00 milestone Oct 4, 2023
@johnhenley johnhenley self-assigned this Oct 4, 2023
@johnhenley johnhenley changed the title FIX: Quick reply sending notifications using anonymous user FIX: subscriptions using anonymous user Oct 5, 2023
Copy link
Member

@WillStrohl WillStrohl left a comment

Choose a reason for hiding this comment

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

Nice catch!

@WillStrohl WillStrohl merged commit 7b38ddb into DNNCommunity:dev Oct 5, 2023
1 check passed
@johnhenley johnhenley deleted the issues/533-quick-reply-not-using-authenticated-user branch October 5, 2023 15:31
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

Successfully merging this pull request may close these issues.

BUG: Quick Reply notifications using incorrect user
2 participants