a-ono / redmine_ckeditor

Redmine plugin for integration CKEditor
304 stars 139 forks source link

Redmine 2.2 , Redmine_cms & redmine_ckeditor 0.3.0 conflict #93

Open nvta2 opened 10 years ago

nvta2 commented 10 years ago

Hi Ckeditor team, I have install Redmine Turnkey 2.2 Plugins: redmine_cms & ck_editor

I found this bug

ActionView::Template::Error (undefined local variable or method favicon_cms' for #<#<Class:0xc4da844>:0xc4d76bc>): 6: <meta name="description" content="<%= @page_description || Redmine::Info.app_name %>" /> 7: <meta name="keywords" content="<%= @page_keywords || "issue,bug,tracker" %>" /> 8: <%= csrf_meta_tag %> 9: <%= favicon_cms %> 10: <%= jquery_tag %> 11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> 12: <%= javascript_heads %> plugins/redmine_cms/app/views/layouts/base_meta.html.erb:9:in_plugins_redmine_cms_app_views_layouts_base_meta_html_erb_502114770_95606630' actionpack (3.2.12) lib/action_view/template.rb:145:in block in render' activesupport (3.2.12) lib/active_support/notifications.rb:125:ininstrument' actionpack (3.2.12) lib/action_view/template.rb:143:in render' actionpack (3.2.12) lib/action_view/renderer/template_renderer.rb:59:inrender_with_layout' actionpack (3.2.12) lib/action_view/renderer/template_renderer.rb:45:in render_template' actionpack (3.2.12) lib/action_view/renderer/template_renderer.rb:18:inrender' actionpack (3.2.12) lib/action_view/renderer/renderer.rb:36:in render_template' actionpack (3.2.12) lib/action_view/renderer/renderer.rb:17:inrender' actionpack (3.2.12) lib/abstract_controller/rendering.rb:110:in _render_template' actionpack (3.2.12) lib/action_controller/metal/streaming.rb:225:in_render_template' actionpack (3.2.12) lib/abstract_controller/rendering.rb:103:in render_to_body' actionpack (3.2.12) lib/action_controller/metal/renderers.rb:28:inrender_to_body' actionpack (3.2.12) lib/action_controller/metal/compatibility.rb:50:in render_to_body' actionpack (3.2.12) lib/abstract_controller/rendering.rb:88:inrender' actionpack (3.2.12) lib/action_controller/metal/rendering.rb:16:in render' actionpack (3.2.12) lib/action_controller/metal/instrumentation.rb:40:inblock (2 levels) in render' activesupport (3.2.12) lib/active_support/core_ext/benchmark.rb:5:in block in ms' /usr/lib/ruby/1.9.1/benchmark.rb:295:inrealtime' activesupport (3.2.12) lib/active_support/core_ext/benchmark.rb:5:in ms' actionpack (3.2.12) lib/action_controller/metal/instrumentation.rb:40:inblock in render' actionpack (3.2.12) lib/action_controller/metal/instrumentation.rb:83:in cleanup_view_runtime' activerecord (3.2.12) lib/active_record/railties/controller_runtime.rb:24:incleanup_view_runtime' actionpack (3.2.12) lib/action_controller/metal/instrumentation.rb:39:in render' actionpack (3.2.12) lib/action_controller/metal/implicit_render.rb:10:indefault_render' actionpack (3.2.12) lib/action_controller/metal/implicit_render.rb:5:in send_action' actionpack (3.2.12) lib/abstract_controller/base.rb:167:inprocess_action' actionpack (3.2.12) lib/action_controller/metal/rendering.rb:10:in process_action' actionpack (3.2.12) lib/abstract_controller/callbacks.rb:18:inblock in process_action' activesupport (3.2.12) lib/active_support/callbacks.rb:469:in `_run1029740089process_action922891863callbacks' activesupport (3.2.12) lib/active_support/callbacks.rb:405:in`run_callback' activesupport (3.2.12) lib/active_support/callbacks.rb:385:in _run_process_action_callbacks' activesupport (3.2.12) lib/active_support/callbacks.rb:81:inrun_callbacks' actionpack (3.2.12) lib/abstract_controller/callbacks.rb:17:in process_action' actionpack (3.2.12) lib/action_controller/metal/rescue.rb:29:inprocess_action' actionpack (3.2.12) lib/action_controller/metal/instrumentation.rb:30:in block in process_action' activesupport (3.2.12) lib/active_support/notifications.rb:123:inblock in instrument' activesupport (3.2.12) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (3.2.12) lib/active_support/notifications.rb:123:ininstrument' actionpack (3.2.12) lib/action_controller/metal/instrumentation.rb:29:in process_action' actionpack (3.2.12) lib/action_controller/metal/params_wrapper.rb:207:inprocess_action' activerecord (3.2.12) lib/active_record/railties/controller_runtime.rb:18:in process_action' actionpack (3.2.12) lib/abstract_controller/base.rb:121:inprocess' actionpack (3.2.12) lib/abstract_controller/rendering.rb:45:in process' actionpack (3.2.12) lib/action_controller/metal.rb:203:indispatch' actionpack (3.2.12) lib/action_controller/metal/rack_delegation.rb:14:in dispatch' actionpack (3.2.12) lib/action_controller/metal.rb:246:inblock in action' actionpack (3.2.12) lib/action_dispatch/routing/route_set.rb:73:in call' actionpack (3.2.12) lib/action_dispatch/routing/route_set.rb:73:indispatch' actionpack (3.2.12) lib/action_dispatch/routing/route_set.rb:36:in call' journey (1.0.4) lib/journey/router.rb:68:inblock in call' journey (1.0.4) lib/journey/router.rb:56:in each' journey (1.0.4) lib/journey/router.rb:56:incall' actionpack (3.2.12) lib/action_dispatch/routing/route_set.rb:601:in call' rack-openid (1.4.1) lib/rack/openid.rb:99:incall' actionpack (3.2.12) lib/action_dispatch/middleware/best_standards_support.rb:17:in call' rack (1.4.5) lib/rack/etag.rb:23:incall' rack (1.4.5) lib/rack/conditionalget.rb:25:in call' actionpack (3.2.12) lib/action_dispatch/middleware/head.rb:14:incall' actionpack (3.2.12) lib/action_dispatch/middleware/params_parser.rb:21:in call' actionpack (3.2.12) lib/action_dispatch/middleware/flash.rb:242:incall' rack (1.4.5) lib/rack/session/abstract/id.rb:210:in context' rack (1.4.5) lib/rack/session/abstract/id.rb:205:incall' actionpack (3.2.12) lib/action_dispatch/middleware/cookies.rb:341:in call' activerecord (3.2.12) lib/active_record/query_cache.rb:64:incall' activerecord (3.2.12) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call' actionpack (3.2.12) lib/action_dispatch/middleware/callbacks.rb:28:inblock in call' activesupport (3.2.12) lib/active_support/callbacks.rb:405:in _run__809308577__call__751039404__callbacks' activesupport (3.2.12) lib/active_support/callbacks.rb:405:in__run_callback' activesupport (3.2.12) lib/active_support/callbacks.rb:385:in _run_call_callbacks' activesupport (3.2.12) lib/active_support/callbacks.rb:81:inrun_callbacks' actionpack (3.2.12) lib/action_dispatch/middleware/callbacks.rb:27:in call' actionpack (3.2.12) lib/action_dispatch/middleware/remote_ip.rb:31:incall' actionpack (3.2.12) lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' actionpack (3.2.12) lib/action_dispatch/middleware/show_exceptions.rb:56:incall' railties (3.2.12) lib/rails/rack/logger.rb:32:in call_app' railties (3.2.12) lib/rails/rack/logger.rb:16:inblock in call' activesupport (3.2.12) lib/active_support/tagged_logging.rb:22:in tagged' railties (3.2.12) lib/rails/rack/logger.rb:16:incall' actionpack (3.2.12) lib/action_dispatch/middleware/request_id.rb:22:in call' rack (1.4.5) lib/rack/methodoverride.rb:21:incall' rack (1.4.5) lib/rack/runtime.rb:17:in call' activesupport (3.2.12) lib/active_support/cache/strategy/local_cache.rb:72:incall' rack (1.4.5) lib/rack/lock.rb:15:in call' actionpack (3.2.12) lib/action_dispatch/middleware/static.rb:62:incall' rack-cache (1.2) lib/rack/cache/context.rb:136:in forward' rack-cache (1.2) lib/rack/cache/context.rb:245:infetch' rack-cache (1.2) lib/rack/cache/context.rb:185:in lookup' rack-cache (1.2) lib/rack/cache/context.rb:66:incall!' rack-cache (1.2) lib/rack/cache/context.rb:51:in call' railties (3.2.12) lib/rails/engine.rb:479:incall' railties (3.2.12) lib/rails/application.rb:223:in call' railties (3.2.12) lib/rails/railtie/configurable.rb:30:inmethod_missing' passenger (4.0.20) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in process_request' passenger (4.0.20) lib/phusion_passenger/request_handler/thread_handler.rb:140:inaccept_and_process_next_request' passenger (4.0.20) lib/phusion_passenger/request_handler/thread_handler.rb:108:in main_loop' passenger (4.0.20) lib/phusion_passenger/request_handler.rb:441:inblock (3 levels) in start_threads'

I have asked RedmineCRM team and they said to me: This is redmine plugins known issue. The point is about ApplicationHelper patching and plugins loading order (ck_editor should be loaded after cms). And I haven't found solution yet.

Please help Thank you.

a-ono commented 10 years ago

redmine_ckeditor 0.3.0 doesn't patch ApplicationHelper.

This is redmine plugins known issue. The point is about ApplicationHelper patching and plugins loading order (ck_editor should be loaded after cms). And I haven't found solution yet.

I don't know how to fix it too.