naidu / redmine-dmsf

Automatically exported from code.google.com/p/redmine-dmsf
0 stars 0 forks source link

500 internal error when using copy/move button #177

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the copy/move button
2.
3.

What is the expected output? What do you see instead?
500 internal error

What version of the DMSF and Redmine are you using? On what browser and
operating
system?
DMSF 1.2.1
Redmine 1.2.0 stable
Ubuntu 10.10

Please provide any additional information below.

Here's the entries in the production log :

Processing DmsfFilesCopyController#new (for 127.0.0.1 at 2011-11-02 04:04:24) 
[GET]
  Parameters: {"action"=>"new", "id"=>"1", "controller"=>"dmsf_files_copy"}
Rendering template within layouts/base
Rendering dmsf_files_copy/new

ActionView::TemplateError (undefined local variable or method 
`robot_exclusion_tag' for #<ActionView::Base:0x7f5e5e82c058>) on line #50 of 
vendor/plugins/redmine_dmsf/app/views/dmsf_files_copy/new.html.erb:
47: 
48: <% content_for :header_tags do %>
49:     <%= stylesheet_link_tag "dmsf", :plugin => "redmine_dmsf" %>
50:     <%= robot_exclusion_tag %>
51:     <%= javascript_include_tag "jquery-1.6.1.min.js", :plugin => 
"redmine_dmsf" %>
52:     <script type="text/javascript">
53:         jQuery.noConflict();

    vendor/plugins/redmine_dmsf/app/views/dmsf_files_copy/new.html.erb:50
    app/helpers/application_helper.rb:856:in `content_for'
    vendor/plugins/redmine_dmsf/app/views/dmsf_files_copy/new.html.erb:48
    vendor/plugins/redmine_dmsf/app/controllers/dmsf_files_copy_controller.rb:41:in `new'

Rendering /home/redmine/public/500.html (500 Internal Server Error)

Original issue reported on code.google.com by vi...@arpin.ca on 2 Nov 2011 at 4:31

GoogleCodeExporter commented 9 years ago

Original comment by vit.jo...@gmail.com on 2 Nov 2011 at 7:20

GoogleCodeExporter commented 9 years ago
This seems like you have messed Redmine or Rails instalation. Are you able to 
edit wiki pages?

Original comment by vit.jo...@gmail.com on 2 Nov 2011 at 9:41

GoogleCodeExporter commented 9 years ago
Yes. Everything else is working fine with redmine; including wiki page creation 
and modification.

Original comment by vi...@arpin.ca on 3 Nov 2011 at 1:18

GoogleCodeExporter commented 9 years ago
Hmm OK. Removed problematic tag in next release

Original comment by vit.jo...@gmail.com on 3 Nov 2011 at 8:15

GoogleCodeExporter commented 9 years ago
I did remove the line 50: <%= robot_exclusion_tag %> and the function copy/move 
now works.

Original comment by vi...@arpin.ca on 5 Nov 2011 at 4:11

GoogleCodeExporter commented 9 years ago
Issue 183 has been merged into this issue.

Original comment by vit.jo...@gmail.com on 17 Nov 2011 at 10:07

GoogleCodeExporter commented 9 years ago
/iqs/Redmine/redmine-1.1/vendor/plugins/redmine_dmsf/app/views/dmsf_files/show.h
tml.erb:52: warning: multiple values for a block parameter (0 for 1)
        from /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36
/iqs/Redmine/redmine-1.1/vendor/plugins/redmine_dmsf/app/views/dmsf_files_copy/n
ew.html.erb:15: warning: multiple values for a block parameter (0 for 1)
        from /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_view/helpers/capture_helper.rb:36  

Do i need to remove <%= robot_exclusion_tag %> from 
redmine_dmsf/app/views/dmsf_files_copy/new.html.erb ? and tell me if there is 
any other line or code to be removed.

Original comment by kishore....@gmail.com on 17 Nov 2011 at 10:16

GoogleCodeExporter commented 9 years ago
I'm preparing new bugfix release for today that will have bugfix included

Original comment by vit.jo...@gmail.com on 17 Nov 2011 at 10:18

GoogleCodeExporter commented 9 years ago

Original comment by vit.jo...@gmail.com on 17 Nov 2011 at 10:51

GoogleCodeExporter commented 9 years ago
I only removed the line <%= robot_exclusion_tag %> from the file 
vendor/plugins/redmine_dmsf/app/views/dmsf_files_copy/new.html.erb

That fixed the problem. No other actions were needed.

Original comment by vi...@arpin.ca on 17 Nov 2011 at 2:47