Open vergelli opened 3 years ago
Hi, I found that after redmine 4.2, there are some if-eles path does not define @projects but only @entries. So I add one line into index.erb
<% @projects ||= @entries %>
<% @projects.delete_if { |p| !p.active? } -%>
and it works.
But the behavior is abnormal in redmine 5.0 and I am still trying out what's the problems.
Any suggestion would be appreciated,
Regards.
Hello, I'm having the following issue, and I really was wondering if there is an easy workaround for this. Here is the problem:
Platform: Inside a Docker container Redmine version: 4.2.1.stable DB: Postgres.
So I installed redmine_projects_accordion but when I go to the Projects view, an "Internal Error (500)" is triggered
I went for my log file and I found the following:
So I'm assuming there is a problem with a method called
projects.delete_if
. Of course, it could be something else but this is what my log is showing. I'm not an expert with ruby by the way, so I wonder if you can suggest me something. It appears that this method is not being recognized since it says: "undefined method delete_if' for nil:NilClass
".Any suggestion would be appreciated.
Regards.