rolesoftware / redrisk

Risk plugin for Redmine
15 stars 6 forks source link

Version history 500 error #6

Open Yumash opened 9 years ago

Yumash commented 9 years ago

gives 500 error

Started GET "/projects/payments/risks/1/version_histories/2" for ... at 2015-09-10 21:24:59 +0300
Processing by VersionHistoriesController#show_risk as HTML
  Parameters: {"id"=>"testproject", "risk_id"=>"1", "version_id"=>"2"}
  Current user: 
Completed 500 Internal Server Error in 13ms (ActiveRecord: 1.9ms)

ArgumentError (wrong number of arguments (1 for 0)):
  lib/plugins/acts_as_versioned/lib/acts_as_versioned.rb:472:in `find_versions'
  lib/plugins/acts_as_versioned/lib/acts_as_versioned.rb:463:in `find_version'
  lib/plugins/acts_as_versioned/lib/acts_as_versioned.rb:294:in `find_version'
  lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Processing by UsErrorsController#error_500 as HTML
  Parameters: {"id"=>"testproject", "risk_id"=>"1", "version_id"=>"2"}
  Current user: 
  Rendered plugins/usability/app/views/errors/error_status.html.erb (12.2ms)
Completed 500 Internal Server Error in 18ms (Views: 10.8ms | ActiveRecord: 3.0ms)

Both actions & risks. Redmine 3.1.