Error with plugins Agile Pro 1.6.5 and DMSF 3.0.12 in Redmine 5.0.5 - Psych::DisallowedClass (Tried to load unspecified class: Set)
Added by Dawid Biskupski over 1 year ago
I am using the official redmine 5.0.5 docker container from dockerhub. Plugins being used: Redmine Agile Pro 1.6.5 and DMSF 3.0.12
Steps to reproduce:
Inside the container, those extra commands are ran:
apt update && apt install build-essential -y && gem install ox rails-controller-testing && bundle install && rake redmine:plugins:migrate
As the container is now configured upon restarting it I get the following error in logs:Psych::DisallowedClass (Tried to load unspecified class: Set)
Afterwards I modify config/application.rb ( (like shown below)
config.active_record.yaml_column_permitted_classes = [
Set,
Date,
Time,
Symbol,
ActiveSupport::HashWithIndifferentAccess,
ActionController::Parameters
]
Adding the “Set” class, gets me to a point I get different error:
ActionView::Template::Error (Tried to load unspecified class: Set):
10: <div id="my-page" class="splitcontent">
11: <% @groups.each do |group| %>
12: <div id="list-<%= group %>" class="block-receiver splitcontent<%= group %>">
13: <%= render_blocks(@blocks[group], @user) %>
14: </div>
15: <% end %>
16: </div>
Is there anything I can do to fix the issue? I got to work version 5.0.2 with aforementioned plugins.
The version 5.0.5 simply does not work for me in my scenario.
Thanks in advance,
David