Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Error on Redmine 3.1.1 when editing a wiki page #25

Open
Mathieu4D opened this issue Oct 22, 2015 · 4 comments
Open

Error on Redmine 3.1.1 when editing a wiki page #25

Mathieu4D opened this issue Oct 22, 2015 · 4 comments

Comments

@Mathieu4D
Copy link

Hello,
I installed this plugin and when I try to edit a wiki page, I have this error.
For the moment, I uninstall it, but if you need more informations, there is no problem.
Mathieu

Started GET "/projects/4d/wiki/Redmine_et_Perforce/edit" for 192.168.6.47 at 2015-10-22 15:01:58 +0200
Processing by WikiController#edit as HTML
Parameters: {"project_id"=>"d", "id"=>"Red_et_Per"}
Current user: mathieu.steininger@4d.com (id=65)
Rendered plugins/redmine_image_clipboard_paste/app/views/wiki/edit.html.erb within layouts/base (2.2ms)
Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.8ms)

ActionView::Template::Error (':parent' is not an ActiveModel-compatible object. It must implement :to_partial_path.):
1: <%= javascript_include_tag 'image_paste.js', :plugin => 'redmine_image_clipboard_paste' %>
2: <%= render :parent, {:you_can_pass => :locals} %>
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

@ccelis5215
Copy link

Hello, same problem here after migrating to 3.1.2

Redmine 3.1.2.stable.14890
Environment:
Redmine version 3.1.2.stable.14890
Ruby version 2.2.1-p85 (2015-02-26) [x86_64-linux]
Rails version 4.2.5
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.1
Filesystem


Started GET "/proyectos/projects/ms-qa/wiki/Wiki/edit" for 192.168.1.31 at 2015-12-01 07:48:41 -0430
Processing by WikiController#edit as HTML
Parameters: {"project_id"=>"ms-qa", "id"=>"Wiki"}
Current user: ccelis (id=12)
Rendered plugins/redmine_image_clipboard_paste/app/views/wiki/edit.html.erb within layouts/base (3.1ms)
Completed 500 Internal Server Error in 23ms (ActiveRecord: 1.2ms)

ActionView::Template::Error (':parent' is not an ActiveModel-compatible object. It must implement :to_partial_path.):
1: <%= javascript_include_tag 'image_paste.js', :plugin => 'redmine_image_clipboard_paste' %>
2: <%= render :parent, {:you_can_pass => :locals} %>
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

@gregal
Copy link

gregal commented Apr 27, 2016

Same problem.

@archonwang
Copy link

+1

@DJUserkent
Copy link

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

No branches or pull requests

5 participants