iRessources / AgileDwarf

Agile plugin for Redmine
120 stars 83 forks source link

AgileDwarf in Redmine 3.3.0 #87

Open ios007 opened 8 years ago

ios007 commented 8 years ago

Hi everyone,

i have an issue with: Environment: Redmine version 3.3.0.stable Ruby version 2.1.2-p95 (2014-05-08) [x86_64-linux] Rails version 4.2.6 Environment production Database adapter Mysql2 SCM: Subversion 1.6.17 Cvs 1.12.12 Git 1.7.12.4 Filesystem
Redmine plugins: AgileDwarf 0.0.3 redmine_dmsf 1.5.6 redmine_mylyn_connector 2.8.2.stable

when trying to access the AgileDwarf tabs i get:

Internal error and in the logs:

Started GET "/adtasks/list?project_id=proj" for 163.242.251.197 at 2016-07-28 17:34:33 +0200 Processing by AdtasksController#list as HTML Parameters: {"project_id"=>"proj"} Current user: user(id=1) Completed 500 Internal Server Error in 27ms (ActiveRecord: 4.4ms)

NoMethodError (undefined method scoped' for #<Class:0x007fb415abf218>): plugins/AgileDwarf/app/models/sprints.rb:8:inopen_sprints' plugins/AgileDwarf/app/controllers/adtasks_controller.rb:8:in list' lib/redmine/sudo_mode.rb:63:insudo_mode' plugins/redmine_dmsf/lib/redmine_dmsf/webdav/no_parse.rb:33:in `call'

Could you please help?

i have set the following in the routes.rb to avoid the build errors:

match 'adburndown/(:action(/:id))', :controller => 'adburndown', via: [:get] match 'adsprintinl/(:action(/:id))', :controller => 'adsprintinl', via: [:get] match 'adsprints/(:action(/:id))', :controller => 'adsprints', via: [:get] match 'adtaskinl/(:action(/:id))', :controller => 'adtaskinl', via: [:get] match 'adtasks/(:action(/:id))', :controller => 'adtasks', via: [:get] end

thank you and Best regards!