On Mar 28, 11:26 pm, "Menglim S." <li...@ruby-forum.com> wrote:
> SystemStackError in Issues#show
>
> Showing app/views/issues/show.rhtml where line #28 raised:
>
> stack level too deep
>
> Extracted source (around line #28):
>
> 25: <th class="due-date"><%=l(:field_due_date)%>:</th><td
> class="due-date"><%= format_date(@issue.due_date) %></td>
> 26: </tr>
> 27: <tr>
> 28: <th class="assigned-to"><%=l(:field_assigned_to)%>:</th><td
> class="assigned-to"><%= avatar(@issue.assigned_to, :size => "14") %><%=
> @issue.assigned_to ? link_to_user(@issue.assigned_to) : "-" %></td>
> 29: <th class="progress"><%=l(:field_done_ratio)%>:</th><td
> class="progress"><%= progress_bar @issue.done_ratio, :width => '80px',
> :legend => "#...@issue.done_ratio}%" %></td>
> 30: </tr>
> 31: <tr>
>
> RAILS_ROOT: /home/hkakada/rails_apps/redmine
> Application Trace | Framework Trace | Full Trace
>
> /home/hkakada/rails_apps/redmine/vendor/plugins/redmine_local_avatars-0.1.1 /lib/application_helper_avatar_patch.rb:30:in
> `avatar_without_local'
> /home/hkakada/rails_apps/redmine/vendor/plugins/redmine_local_avatars-0.1.1 /lib/application_helper_avatar_patch.rb:38:in
> `avatar'
I tracked down the source for redmine_local_avatars, and it uses
alias_method_chain to mix-in the local functionality. The stack error
you're seeing is a classic symptom of something getting double-aliased
and recursing indefinitely; you'll want to check your code to see if
something else is including ApplicationHelperAvatarPatch.
--Matt Jones
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment