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

when not login any user, Click the Workload show error "TypeError in Work_load#show " #1

Open
archonwang opened this issue Jul 21, 2011 · 2 comments

Comments

@archonwang
Copy link

HI, the steps as follows:

  1. open redmine
  2. then Click the Workload
  3. Error message like this :

TypeError in Work_load#show

Showing vendor/plugins/redmine_dnoise_workload/app/views/work_load/show.html.erb where line #215 raised:

nil can't be coerced into Fixnum

Extracted source (around line #215):

212:
213:
214: <%
215: remanentes_by_user[user.id] = @utils.getRemanente(user.id, @fecha_actual)
216: issues_remanentes_by_user[user.id] = @utils.getIssuesOpenedWihtout(user.id, @gantt.date_from)
217: %>
218:

RAILS_ROOT: D:/redmine
Application Trace | Framework Trace | Full Trace

D:/redmine/vendor/plugins/redmine_dnoise_workload/lib/list_user.rb:16:in +' D:/redmine/vendor/plugins/redmine_dnoise_workload/lib/list_user.rb:16:ingetRemanente'
D:/redmine/vendor/plugins/redmine_dnoise_workload/lib/list_user.rb:15:in each' D:/redmine/vendor/plugins/redmine_dnoise_workload/lib/list_user.rb:15:ingetRemanente'
D:/redmine/vendor/plugins/redmine_dnoise_workload/app/views/work_load/show.html.erb:215:in _run_erb_vendor47plugins47redmine_dnoise_workload47app47views47work_load47show46html46erb' D:1:ineach'
D:1:in __send__' D:1:ineach'

Request

Parameters:

{"month"=>7,
"year"=>2011,
"months"=>6,
"show_issues"=>"1"}

Show session dump
Response

Headers:

{"Content-Type"=>"text/html",
"Cache-Control"=>"no-cache"}

@dnoise
Copy link
Owner

dnoise commented Jul 27, 2011

Tx for the info... we will try to improve plug as soon as our workload allow us :)

@javierpadin20
Copy link

Hi, i've the same problem. Did you resolve it? Tx!!

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

3 participants