ergoserv / redmine-progressive-projects-list

⛏️ Redmine plugin that powers a project list with progress bars for every project and version.
https://ergoserv.github.io/redmine-progressive-projects-list/
MIT License
109 stars 57 forks source link

0.5.0 can't create project ( redmine 2.3.x ) #19

Closed wadelo closed 11 years ago

wadelo commented 11 years ago
Started GET "/redmine/projects/new" for 10.1.2.205 at 2013-09-13 12:49:05 +0800
Processing by ProjectsController#new as HTML
  Current user: WadeLo (id=7)
  Rendered projects/_form.html.erb (23.1ms)
  Rendered projects/new.html.erb within layouts/base (26.2ms)
  Rendered plugins/redmine_code_review/app/views/code_review/_html_header.html.erb (0.1ms)
  Rendered plugins/redmine_wiki_extensions/app/views/wiki_extensions/_html_header.html.erb (2.2ms)
  Rendered plugins/watchers_textinput/app/views/watchers_textinput/_include_stylesheet.html.erb (1.9ms)
  Rendered plugins/clipboard_image_paste/app/views/clipboard_image_paste/_headers.html.erb (1.8ms)
  Rendered plugins/progressive_projects_list/app/views/projects/_progressive_sidebar.html.erb (0.1ms)
  Rendered plugins/progressive_projects_list/app/views/application/_progressive_recent_projects.html.erb (11.7ms)
Completed 500 Internal Server Error in 103ms

ActiveRecord::RecordNotFound (Couldn't find Project without an ID):
  app/models/project.rb:280:in `find'
  lib/redmine/hook.rb:111:in `block in render_on'
  lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
  lib/redmine/hook.rb:61:in `each'
  lib/redmine/hook.rb:61:in `block in call_hook'
  lib/redmine/hook.rb:58:in `tap'
  lib/redmine/hook.rb:58:in `call_hook'
  lib/redmine/hook.rb:158:in `call_hook'
  app/helpers/application_helper.rb:1157:in `view_layouts_base_sidebar_hook_response'
  app/helpers/application_helper.rb:1153:in `sidebar_content?'
  app/views/layouts/base.html.erb:50:in `_app_views_layouts_base_html_erb__1493580625495757049_56094400'
stgeneral commented 11 years ago

Seems like another compatibility issue with another plugin. At least I can see redmine_code_review, redmine_wiki_extensions, watchers_textinput, clipboard_image_paste plugins render something before progressive_projects_list.

Can you please turn on and off one by one these plugins and let me know which plugin is incompatible and I try to deal with it.

Also, you may try to use previous version (0.4.0) for a while.

wadelo commented 11 years ago

same! all plugin removed

Started GET "/redmine/projects/new" for 192.168.118.2 at 2013-08-05 11:48:23 +0000 Processing by ProjectsController#new as HTML Current user: WadeLo (id=58) Rendered projects/_form.html.erb (27.8ms) Rendered projects/new.html.erb within layouts/base (68.5ms) Rendered plugins/progressive_projects_list/app/views/projects/_progressive_sidebar.html.erb (0.1ms) Rendered plugins/progressive_projects_list/app/views/application/_progressive_recent_projects.html.erb (0.8ms) Completed 500 Internal Server Error in 135ms

ActiveRecord::RecordNotFound (Couldn't find Project without an ID): app/models/project.rb:280:in find' lib/redmine/hook.rb:111:inblock in render_on' lib/redmine/hook.rb:61:in block (2 levels) in call_hook' lib/redmine/hook.rb:61:ineach' lib/redmine/hook.rb:61:in block in call_hook' lib/redmine/hook.rb:58:intap' lib/redmine/hook.rb:58:in call_hook' lib/redmine/hook.rb:158:incall_hook' app/helpers/application_helper.rb:1161:in view_layouts_base_sidebar_hook_response' app/helpers/application_helper.rb:1157:insidebar_content?' app/views/layouts/base.html.erb:50:in `_app_views_layouts_base_html_erb__826097522085107170_56448580'

stgeneral commented 11 years ago

Thanks for the report, @wadelo. Please upgrade to the 0.5.1 version where this defect is fixed. Let me know if you have any problems.