Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Redmine 1.4.0: NoMethodError in Time_trackers#index #75

Open
cassianomonteiro opened this Issue · 2 comments

2 participants

@cassianomonteiro

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
Collaborator

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

@cassianomonteiro

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
Something went wrong with that request. Please try again.