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

NoMethodError: undefined method `serialize_payload' for Unsuspend Account Service #16603

Closed
HolgerHuo opened this issue Aug 14, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@HolgerHuo
Copy link
Contributor

HolgerHuo commented Aug 14, 2021

Expected behaviour

When unspending an account, no error thrown in sidekiq.

Actual behaviour

Sidekiq retries, in queue pull, job Admin::UnsuspensionWorker, error NoMethodError: undefined method 'serialize_payload' for #<UnsuspendAccountService:> occurred.

Steps to reproduce the problem

  1. Suspend and unsuspend an account.
  2. Go to sidekiq retries.

Specifications

3.4.1 stable version of Mastodon.

@HolgerHuo HolgerHuo added the bug Something isn't working label Aug 14, 2021
HolgerHuo pushed a commit to dragonfly-club/mastodon that referenced this issue Aug 14, 2021
Fix issue mastodon#16603 undefined method `serialize_payload' for Unsuspend Account Service error.
It seems that this service forgot to `include Payloadable` so that `serialize_payload` could not be found in this service.
@HolgerHuo
Copy link
Contributor Author

Tested in my environment and should be fixed in #16605.

jesseplusplus pushed a commit to jesseplusplus/decodon that referenced this issue Feb 10, 2022
Fix issue mastodon#16603 undefined method `serialize_payload' for Unsuspend Account Service error.
It seems that this service forgot to `include Payloadable` so that `serialize_payload` could not be found in this service.
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 a pull request may close this issue.

1 participant