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 `blocked?' for nil:NilClass #8071

Merged
merged 9 commits into from Jun 11, 2021

Conversation

roxanaopr
Copy link
Contributor

@roxanaopr roxanaopr commented May 28, 2021

🎩 What? Why?

ActionView::Template::ErrorDecidim::UserActivitiesController#indexerror
undefined method `blocked?' for nil:NilClass

📌 Related Issues

#8070

Testing

  1. report a content (proposal, meeting, comment)
  2. author of that content will delete his account
  3. from the email received due to moderation, the admin will try to access “Authors” link

📋 Checklist

🚨 Please review the guidelines for contributing to this repository.

  • CONSIDER adding a unit test if your PR resolves an issue.
  • ✔️ DO check open PR's to avoid duplicates.
  • ✔️ DO keep pull requests small so they can be easily reviewed.
  • ✔️ DO build locally before pushing.
  • ✔️ DO make sure tests pass.
  • ✔️ DO make sure any new changes are documented in docs/.
  • ✔️ DO add and modify seeds if necessary.
  • ✔️ DO add CHANGELOG upgrade notes if required.
  • ✔️ DO add to GraphQL API if there are new public fields.
  • ✔️ DO add link to MetaDecidim if it's a new feature.
  • AVOID breaking the continuous integration build.
  • AVOID making significant changes to the overall architecture.

📷 Screenshots

Screenshot from 2021-05-28 13-08-36

♥️ Thank you!

@leio10 leio10 added type: fix PRs that implement a fix for a bug module: core labels Jun 11, 2021
@leio10 leio10 merged commit fd7061d into decidim:develop Jun 11, 2021
@leio10
Copy link
Contributor

leio10 commented Jun 11, 2021

@roxanaopr do you know if this bug affects the release 0.24? If it does, please can you create a backport for it? Thanks! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: core type: fix PRs that implement a fix for a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants