v3.15.0 #10448
Replies: 1 comment 1 reply
-
Dear friends, I'm running on a docker, after update from 3.12.0 to 3.15.0), can't login anymore (all admin users got error): `I, [2024-12-05T00:13:44.299451 #1] INFO -- : [b835e6e8-15e5-4f08-b5ba-88a52060101c] Started POST "/auth/sign_in" for 138.59.153.59 at 2024-12-05 00:13:44 +0000 I, [2024-12-05T00:13:44.322632 #1] INFO -- : [b835e6e8-15e5-4f08-b5ba-88a52060101c] Processing by DeviseOverrides::SessionsController#create as HTML I, [2024-12-05T00:13:44.327219 #1] INFO -- : [b835e6e8-15e5-4f08-b5ba-88a52060101c] Parameters: {"email"=>"[email protected]", "password"=>"[FILTERED]", "sso_auth_token"=>"[FILTERED]"} I, [2024-12-05T00:13:45.518260 #1] INFO -- : [b835e6e8-15e5-4f08-b5ba-88a52060101c] Completed 500 Internal Server Error in 1191ms (ActiveRecord: 223.8ms | Allocations: 63254) F, [2024-12-05T00:13:45.521684 #1] FATAL -- : [b835e6e8-15e5-4f08-b5ba-88a52060101c] [b835e6e8-15e5-4f08-b5ba-88a52060101c] ActionView::Template::Error (undefined method `custom_role_id' for an instance of AccountUser): [b835e6e8-15e5-4f08-b5ba-88a52060101c] 1: json.custom_role_id account_user&.custom_role_id [b835e6e8-15e5-4f08-b5ba-88a52060101c] 2: json.custom_role account_user&.custom_role&.as_json(only: [:id, :name, :description, :permissions]) [b835e6e8-15e5-4f08-b5ba-88a52060101c] [b835e6e8-15e5-4f08-b5ba-88a52060101c] app/views/api/v1/models/_user.json.jbuilder:33 [b835e6e8-15e5-4f08-b5ba-88a52060101c] app/views/api/v1/models/_user.json.jbuilder:21 [b835e6e8-15e5-4f08-b5ba-88a52060101c] app/views/api/v1/models/_user.json.jbuilder:20 [b835e6e8-15e5-4f08-b5ba-88a52060101c] app/views/devise/_auth.json.jbuilder:2 [b835e6e8-15e5-4f08-b5ba-88a52060101c] app/views/devise/_auth.json.jbuilder:1 [b835e6e8-15e5-4f08-b5ba-88a52060101c] app/controllers/devise_overrides/sessions_controller.rb:23:in `render_create_success' [b835e6e8-15e5-4f08-b5ba-88a52060101c] app/controllers/devise_overrides/sessions_controller.rb:18:in `create' [b835e6e8-15e5-4f08-b5ba-88a52060101c] app/controllers/concerns/switch_locale.rb:39:in `set_locale' [b835e6e8-15e5-4f08-b5ba-88a52060101c] app/controllers/concerns/switch_locale.rb:12:in Could anyone help me? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Changelog
Thanks to @mazenkhalil @MingShyanWei for the contributions
This discussion was created from the release v3.15.0.
Beta Was this translation helpful? Give feedback.
All reactions