a-ono / redmine_ckeditor

Redmine plugin for integration CKEditor
303 stars 139 forks source link

Conflict with plugin redmine_banner when click setting #306

Open daronz opened 5 years ago

daronz commented 5 years ago

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 #<#: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:inblock 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:insudo_mode'

Environment:

Redmine plugins:

juxta73 commented 5 years ago

hi, same problem

akiko-pusu commented 5 years ago

@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.