nicStuff / redmine_timesheet_extensions

Redmine plugin furnishing some extensions about time informations
Other
24 stars 6 forks source link

500 Error trying to access /knowledgebase #30

Open markus61 opened 11 years ago

markus61 commented 11 years ago

i like the idea of having something that collects know-how across projects. this module seems to exactly address that. so i gave it a try while setting up our new redmine environment (latest 2.2 from svn). knowledgebase is the only active module right now. after succesfuly adding some content i suddenly got stuck with a 500. tried an 'ordinary user' and root, no difference. found this in the log:

...
  Rendered plugins/redmine_knowledgebase/app/views/articles/_list.html.erb (9.3ms)
  Rendered plugins/redmine_knowledgebase/app/views/knowledgebase/index.html.erb within layouts/base (28.6ms)
Completed 500 Internal Server Error in 63ms

ActionView::Template::Error (undefined method `title' for nil:NilClass):
    2:   
3: <% truncate_length = 100 if local_assigns[:truncate_length].nil? %> 4: <%= link_to truncate(article.title, :length => truncate_length), { :controller => 'articles', :action => 'show', :id => article.id }, :title => article.title %> 5: <%= format_article_summary(article, summary_format, :truncate => truncate_length ) %> 6:
7: <% end %> plugins/redmine_knowledgebase/app/helpers/knowledgebase_helper.rb:26:in `format_article_summary' ...

i don't speak ruby, i hardly know what rails are - wouldn't mind if u call me dummy. thanx for your work!

cheers,

/markus

nicStuff commented 11 years ago

Hi, I fear that the problem is related to the fact that you're using redmine 2.2.X: the latest version of redmine supported by the plugin is 2.0(.3). For the moment I don't have any spare time for upgrading the plugin: I even don't ask you to downgrade redmine to 2.0, because I think that it's the wrong approach (things should go always ahead and so on).

As soon as I have some news regarding the plugin update, I'll update the issues page.

markus61 commented 11 years ago

as much as i would appreciate an upgrade of the timesheet plugin to redmine 2.2, as much i have to apologise for filing an issue for the knowledgebase-plugin in the issue-que of your timesheet plugin. usually i am very thoroughful, bright and clever ;-) cheers, /markus