Users receive an Internal Error on "My Page" #17

rileyw opened this Issue Mar 9, 2011 · 5 comments


None yet

4 participants

rileyw commented Mar 9, 2011

Users are adding the "Active Work" page block to their "My Page" and as soon the page block has been added an "Internal Error" is returned. The production.log reports the following:

ActionView::TemplateError (undefined method `pending?' for nil:NilClass) on line #11 of vendor/plugins/easy_agile/app/views/my/blocks/_active_work.erb:
8: <li class="<%= cycle('odd', 'even') %>">
9:   <div class="iteration">
10:     <%= link_to(
11:       image_tag(iteration.pending? ? 'burndown.png' : project_iteration_burndown_path(iteration.project, iteration, :width => width),
12:         :width => width, :height => height, :alt => "Burndown chart for #{h}"),
13:       [iteration.project, iteration]) %>
14:     <%= link_to h(iteration), [iteration.project, iteration] %>

    app/views/my/page.rhtml:11:in `_run_rhtml_app47views47my47page46rhtml'
    app/views/my/page.rhtml:8:in `each'
    app/views/my/page.rhtml:8:in `_run_rhtml_app47views47my47page46rhtml'

Getting this also - how to resolve or undo adding the block to My Page?

rileyw commented Mar 17, 2011

You will need to edit the user_preferences table, find the row for the appropriate user_id, and remove the "active_work" line from the row contents. I forget the exact column name.

rileyw commented Mar 17, 2011

Ack -- Didn't mean to close.

@msorc msorc reopened this Mar 17, 2011
rnuno commented Mar 22, 2011

I'm also seeing this error. Anyway on how to fix it?

To clean it you need to:

  1. Open user_preferences table
  2. locate your user_id
  3. delete -active_work from the "others" field.
@msorc msorc pushed a commit that referenced this issue Apr 16, 2011
@stephanebachelier stephanebachelier Remove issue #17 (#17) 1927f3d
msorc commented Apr 16, 2011


@msorc msorc closed this Apr 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment