You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The problem is that proposal drafts can be removed, but the Admin Activity Log, when renders Proposals takes for granted that the associated resource, when a Proposal, there's always there. But this is not always true.
Culprit: Admin Log (rendered in the Dashboard and in the Admin Activity Log).
The crash raises in Decidim::Proposals::ProposalPresenter.title:L44 with the typical "no title method for Nil class" message.
To Reproduce
Steps to reproduce the behavior:
Go to 'a participatory process'
Enable participatory text
import a document
discard the participatory text
go to dashboard or AdminLog
Expected behavior
ActionLog should not crash when proposals are discarded.
Describe the bug
The problem is that proposal drafts can be removed, but the Admin Activity Log, when renders Proposals takes for granted that the associated resource, when a Proposal, there's always there. But this is not always true.
Culprit: Admin Log (rendered in the Dashboard and in the Admin Activity Log).
The crash raises in Decidim::Proposals::ProposalPresenter.title:L44 with the typical "no title method for Nil class" message.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
ActionLog should not crash when proposals are discarded.
Stacktrace
Additional Context
Related with meta-decidim: https://meta.decidim.org/processes/bug-report/f/210/proposals/14701
The text was updated successfully, but these errors were encountered: