Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 Error trying to access /knowledgebase #30

Open
markus61 opened this issue Jan 15, 2013 · 2 comments
Open

500 Error trying to access /knowledgebase #30

markus61 opened this issue Jan 15, 2013 · 2 comments

Comments

@markus61
Copy link

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
Copy link
Owner

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants