Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redmine 5.1.1.stable, NoMethodError #54

Open
disc0ba11 opened this issue Mar 15, 2024 · 0 comments
Open

Redmine 5.1.1.stable, NoMethodError #54

disc0ba11 opened this issue Mar 15, 2024 · 0 comments

Comments

@disc0ba11
Copy link

Hi! Trying to make it work, but no results so far.

Redmine version: 5.1.1.stable
Ruby version: 3.0.0-p0 (2020-12-25) [x86_64-linux]
Rails version: 6.1.7.6

What happens when I try to create a webhook for project:

image

Logs:

E, [2024-03-15T12:05:39.939463 #97694] ERROR -- : [1f0ac134-463a-4f5d-adc4-e974d4065370] ActionController::InvalidAuthenticityToken: ActionController::InvalidAuthenticityToken
F, [2024-03-15T12:06:38.469900 #97694] FATAL -- : [59919cd6-6063-4c78-931b-907f7dfd4113]   
[59919cd6-6063-4c78-931b-907f7dfd4113] NoMethodError (undefined method `url=' for #<Webhook id: nil, gettokenUrl: nil, app_id: nil, app_secret: nil, getidUrl: nil, imUrl: nil, project_id: 408>
Did you mean?  imUrl=):
[59919cd6-6063-4c78-931b-907f7dfd4113]   
[59919cd6-6063-4c78-931b-907f7dfd4113] plugins/redmine_webhook/app/controllers/webhook_settings_controller.rb:11:in `create'
[59919cd6-6063-4c78-931b-907f7dfd4113] lib/redmine/sudo_mode.rb:61:in `sudo_mode'
F, [2024-03-15T12:07:22.043771 #97694] FATAL -- : [989d8bfe-bdc4-42ef-9f29-6a96799abfda]   
[989d8bfe-bdc4-42ef-9f29-6a96799abfda] NoMethodError (undefined method `url=' for #<Webhook id: nil, gettokenUrl: nil, app_id: nil, app_secret: nil, getidUrl: nil, imUrl: nil, project_id: 408>
Did you mean?  imUrl=):
[989d8bfe-bdc4-42ef-9f29-6a96799abfda]   
[989d8bfe-bdc4-42ef-9f29-6a96799abfda] plugins/redmine_webhook/app/controllers/webhook_settings_controller.rb:11:in `create'
[989d8bfe-bdc4-42ef-9f29-6a96799abfda] lib/redmine/sudo_mode.rb:61:in `sudo_mode'

Tried many forks of this plugin, issue is the same. What happened in latest Redmine releases? Maybe my Ruby is too old/new? What can I do to resolve my issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant