We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Can't check the finished consultations due to a bug on the permissions system.
To Reproduce Steps to reproduce the behavior:
Expected behavior No error should be raised.
Screenshots None.
Stacktrace
NoMethodError (undefined method `published?' for nil:NilClass): /Users/marc/code/decidim/decidim-consultations/app/permissions/decidim/consultations/permissions.rb:36:in `allowed_public_anonymous_action?' /Users/marc/code/decidim/decidim-consultations/app/permissions/decidim/consultations/permissions.rb:7:in `permissions' /Users/marc/code/decidim/decidim-core/app/controllers/concerns/decidim/needs_permission.rb:55:in `block in allowed_to?' /Users/marc/code/decidim/decidim-core/app/controllers/concerns/decidim/needs_permission.rb:50:in `each' /Users/marc/code/decidim/decidim-core/app/controllers/concerns/decidim/needs_permission.rb:50:in `inject' /Users/marc/code/decidim/decidim-core/app/controllers/concerns/decidim/needs_permission.rb:50:in `allowed_to?' /Users/marc/code/decidim/decidim-core/app/controllers/concerns/decidim/needs_permission.rb:44:in `enforce_permission_to' /Users/marc/code/decidim/decidim-consultations/app/controllers/decidim/consultations/consultations_controller.rb:34:in `finished'
Extra data (please complete the following information):
master
Additional context None
The text was updated successfully, but these errors were encountered:
This was closed by #3524.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Can't check the finished consultations due to a bug on the permissions system.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error should be raised.
Screenshots
None.
Stacktrace
Extra data (please complete the following information):
master
Additional context
None
The text was updated successfully, but these errors were encountered: