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
We've tracked the problems to the calendar module, because it's defining a participatory space but the module_class_name is not an ActiveRecord class but a bare module name:
In the specific case of the term customizer, it expects the model_class_name to be an ActiveRecord class defining a participatory space and it calls some ActiveRecord method (.where, .all...). This would be expected by any other developer.
Note that the problem only seems to appear in production, I suppoose due to the preloading of classes Rails does in production (and not in development mode).
Why is the Calendar module being registered as a participatory space when it's clearly not one? Can you change that so that it works?
The text was updated successfully, but these errors were encountered:
We are just looking at adding the calendar module, as we use meetings modules fairly extensively.
But we need the usability provided by the term-customizer module, so we will have to hold off on using the Calendar module until this is resolved. Is there any chance of this being looked at?
Hi!
We're trying to install this module in an installation together with the https://github.com/mainio/decidim-module-term_customizer module and it's giving us errors.
We've tracked the problems to the calendar module, because it's defining a participatory space but the
module_class_name
is not an ActiveRecord class but a bare module name:decidim-module-calendar/lib/decidim/calendar/participatory_space.rb
Line 8 in 929739b
In the specific case of the term customizer, it expects the
model_class_name
to be an ActiveRecord class defining a participatory space and it calls some ActiveRecord method (.where
,.all
...). This would be expected by any other developer.Note that the problem only seems to appear in production, I suppoose due to the preloading of classes Rails does in production (and not in development mode).
Why is the Calendar module being registered as a participatory space when it's clearly not one? Can you change that so that it works?
The text was updated successfully, but these errors were encountered: