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

Redmine 1.4.0: NoMethodError in Time_trackers#index #75

Open
cassianomonteiro opened this issue Apr 16, 2012 · 2 comments
Open

Redmine 1.4.0: NoMethodError in Time_trackers#index #75

cassianomonteiro opened this issue Apr 16, 2012 · 2 comments
Labels

Comments

@cassianomonteiro
Copy link

When I click on the list button, I get the following error:

NoMethodError in Time_trackers#index

Showing vendor/plugins/redmine_time_tracker/app/views/time_trackers/index.rhtml where line #78 raised:

undefined method `subject' for nil:NilClass

Extracted source (around line #78):

75:                                     
76:                                 <% end %>
77:                                 <%= link_to_user user_from_id(time_tracker[:user_id]) %>
78:                                 <%= link_to_issue issue_from_id(time_tracker[:issue_id]), :project => true %>
79:                                 <%= format_time(time_tracker[:started_on]) %>
80:                                 <%= time_tracker.time_spent_to_s %>
81:                                 

RAILS_ROOT: C:/webserver/Redmine
Application Trace | Framework Trace | Full Trace

C:/webserver/Redmine/app/helpers/application_helper.rb:80:in `link_to_issue'

Request

Parameters:

None

Show session dump

--- 

Response

Headers:

{"Content-Type"=>"",
 "Cache-Control"=>"no-cache"}
@delaitre
Copy link
Collaborator

What version of the plugin do you use? Can you try with the development version?

@cassianomonteiro
Copy link
Author

Sorry, I forgot to mention that... Yes, I´m already using the development version (I had it before to solve the routes issues on Redmine 1.4.0).

Thanks!

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

No branches or pull requests

2 participants