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

Conflict with plugin redmine_banner when click setting #306

Open
daronz opened this issue Jul 29, 2019 · 2 comments
Open

Conflict with plugin redmine_banner when click setting #306

daronz opened this issue Jul 29, 2019 · 2 comments

Comments

@daronz
Copy link

daronz commented Jul 29, 2019

here is the url of plugin redmine_banner
https://github.com/akiko-pusu/redmine_banner

Log:

Started GET "/settings/plugin/redmine_ckeditor" for 127.0.0.1 at 2019-07-29 14:49:58 +0800
Processing by SettingsController#plugin as HTML
Parameters: {"id"=>"redmine_ckeditor"}
Current user: admin (id=1)
Rendering settings/plugin.html.erb within layouts/admin
Rendered plugins/redmine_ckeditor/app/views/settings/_ckeditor.html.erb (411.5ms)
Rendered settings/plugin.html.erb within layouts/admin (425.3ms)
Completed 500 Internal Server Error in 495ms (ActiveRecord: 25.3ms)

ActionView::Template::Error (undefined local variable or method `ckeditor_javascripts' for #<#Class:0x000000000c2f81c0:0x000000000c2f1e38>):
1: <%= ckeditor_javascripts %>
2: <%= stylesheet_link_tag 'editor', :plugin => 'redmine_ckeditor'%>
3: <%= stylesheet_link_tag 'selector', :plugin => 'redmine_ckeditor'%>
4:

plugins/redmine_ckeditor/app/views/settings/_ckeditor.html.erb:1:in _plugins_redmine_ckeditor_app_views_settings__ckeditor_html_erb__87485380_102164980' app/views/settings/plugin.html.erb:6:in block in _app_views_settings_plugin_html_erb__39754121_102220920'
app/views/settings/plugin.html.erb:4:in _app_views_settings_plugin_html_erb__39754121_102220920' lib/redmine/sudo_mode.rb:63:in sudo_mode'

Environment:

  • Redmine version: 4.0.4.stable
  • Ruby version: 2.5.5-p157 (2019-03-15) [x64-mingw32]
  • Rails version: 5.2.3
  • Environment: production
  • Database adapter: Mysql2
  • Mailer queue: ActiveJob::QueueAdapters::AsyncAdapter
  • Mailer delivery: smtp

Redmine plugins:

  • redmine_banner: 0.2.0
  • redmine_ckeditor: 1.2.2
@juxta73
Copy link

juxta73 commented Aug 18, 2019

hi, same problem

@akiko-pusu
Copy link

akiko-pusu commented Aug 20, 2019

@daronz @juxta73
Hi, I’m author of banner plugin.
Thanks to juxta73, I confirmed the problem so that I try to make a workaround.
See: akiko-pusu/redmine_banner#111
If above workaround is effective, you can close this issue.

Updated:
Banner plugin released v0.2.1, including workaround for this 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

3 participants