Closed ck2000 closed 1 year ago
@ck2000 this error looks a lot like https://github.com/heartcombo/devise/issues/5558. Have you upgraded your app and had custom code (failure app, parent controller) configured by any chance? Those would have to be removed. See this upgrade example: https://github.com/vincemilo/odin-facebook/pull/1
If not that, have you made any other change to your app, like adding custom respond_to
, etc? Are you running with responders 3.1.0? This information will be helpful to troubleshot. Thanks.
@ck2000 this error looks a lot like #5558. Have you upgraded your app and had custom code (failure app, parent controller) configured by any chance? Those would have to be removed. See this upgrade example: vincemilo/odin-facebook#1
If not that, have you made any other change to your app, like adding custom
respond_to
, etc? Are you running with responders 3.1.0? This information will be helpful to troubleshot. Thanks.
Thank you for your quick response. Yes, I have upgraded my app as described in the change log. I am using responders gem v3.1.0. / no changes to respond_to
...
I have some code in my application_controller / nothing special. I am using gem 'exception_notification'
If you meant this with failure app.
@ck2000 and you've removed all custom code like these pieces, right?
I will try to repro again, but from my previous testing on that other app the only way I could really repro it was keeping those overrides. After removing them, the error went away.
Thank you for pointing this out. I have changed the config an go ride of config.parent_controller
Works perfect now. Thank you!
Awesome, glad to hear it!
@ck2000 and you've removed all custom code like these pieces, right?
I will try to repro again, but from my previous testing on that other app the only way I could really repro it was keeping those overrides. After removing them, the error went away.
Hey this worked great; thank you @carlosantoniodasilva . Do you know if there is a way to regenerate a clean config/initializers/devise.rb
file from the 4.9 package? I would like to make sure I'm running a clean copy. I couldn't find the source file in the repo, so is this automagically generated during Devise install?
@ck2000 and you've removed all custom code like these pieces, right?
I will try to repro again, but from my previous testing on that other app the only way I could really repro it was keeping those overrides. After removing them, the error went away.
Hey this worked great; thank you @carlosantoniodasilva . Do you know if there is a way to regenerate a clean
config/initializers/devise.rb
file from the 4.9 package? I would like to make sure I'm running a clean copy. I couldn't find the source file in the repo, so is this automagically generated during Devise install?
Yes, I have removed all custom code.
Environment
=> Rails 7.0.4.2 => ruby 3.1.3 (2022-11-24) [x86_64-darwin22] => devise 4.9.0
Current behavior
Log in does not work with the environment described above.
Code examples: I am using the default devise controllers and views.
Expected behavior
Log in works as expected ....