decidim-ice / decidim-module-decidim_awesome

Additional components and Opt-In usability and UX tweaks for Decidim.
GNU Affero General Public License v3.0
25 stars 25 forks source link

uninitialized constant Decidim::DecidimAwesome::Admin::UpdateProposalOverride #324

Open decentral1se opened 3 months ago

decentral1se commented 3 months ago

Describe the bug

Upgrading from 0.27.x -> 0.28.x using 0.11.1 of decidim-awesome.

decidim@foo:~/decidim$ bin/rails decidim:upgrade
rails aborted!
NameError: uninitialized constant Decidim::DecidimAwesome::Admin::UpdateProposalOverride
/home/decidim/decidim/config/environment.rb:5:in `<main>'
Tasks: TOP => decidim:upgrade => railties:install:migrations => db:load_config => environment
(See full trace by running task with --trace)

To Reproduce Steps to reproduce the behavior:

  1. Install decidim 0.27
  2. Upgrade to 0.28

Expected behavior

decidim:upgrade works.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context N/A

arusa commented 2 weeks ago

Same error here. I was just updating the decidim-awesome module.

For some reason here it tries to load Decidim::DecidimAwesome::Admin::UpdateProposalOverride instead of Decidim::DecidimAwesome::Proposals::Admin::UpdateProposalOverride

https://github.com/decidim-ice/decidim-module-decidim_awesome/blob/main/app/commands/concerns/decidim/decidim_awesome/proposals/update_proposal_override.rb#L11