AlchemyCMS / alchemy_cms

Alchemy is the Open Source Rails CMS framework for the component based web that can be used as classic server side rendered or headless CMS.
https://www.alchemy-cms.com
BSD 3-Clause "New" or "Revised" License
817 stars 312 forks source link

AbstractController::ActionNotFound #2906

Closed 24fpsDaVinci closed 1 month ago

24fpsDaVinci commented 1 month ago

Steps to reproduce

go to Library > Images

Expected behavior

Actual behavior

callback on Alchemy::Admin::PicturesController, but it is listed in the controller's
:only option.

Raising for missing callback actions is a new default in Rails 7.1, if you'd
like to turn this off you can delete the option from the environment configurations
or set `config.action_controller.raise_on_missing_callback_actions` to `false`.
 in /home/me/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/actionpack-7.1.3.3/lib/abstract_controller/callbacks.rb:62:in `match?'
Completed 500 Internal Server Error in 36ms (Views: 20.9ms | ActiveRecord: 0.6ms | Allocations: 23381)

System configuration

tvdeyen commented 1 month ago

Fixed in https://github.com/AlchemyCMS/alchemy_cms/pull/2714 Released in https://github.com/AlchemyCMS/alchemy_cms/releases/tag/v7.2.0 and back ported into 7.1-stable branch which you can use with

# Gemfile
gem "alchemy_cms", github: "AlchemyCMS/alchemy_cms", branch: "7.1-stable"

until we released a new 7.1 patch level.

tvdeyen commented 1 month ago

Actually already fixed in 7.1.2 @24fpsDaVinci you say you use Alchemy 7.1.7. Could you please verify that you are using the latest Alchemy and still have the issue?

24fpsDaVinci commented 1 month ago

I did an update now I'm using 7.2.0, no longer have the issue