redmine_ckeditor
redmine_ckeditor copied to clipboard
Conflict with plugin redmine_banner when click setting
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
hi, same problem
@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: https://github.com/akiko-pusu/redmine_banner/issues/111 If above workaround is effective, you can close this issue.
Updated: Banner plugin released v0.2.1, including workaround for this issue.