Defect #15875
closedProblem viewing time entries detail
0%
Description
When I click on the option to see the details of the time entries, redmine launch 500 error code.
The solution was edit the file "app/views/timelog/_list.html.erb" and move the line
<%= call_hook (:view_timelog_index_list_after_entry, {:entry => entry})%> inside the loop.
Anyway, this is the error:
Completed 500 Internal Server Error in 728ms
ActionView::Template::Error (undefined local variable or method `entry' for #<#<Class:0x7f95d7be37e0>:0x7f95d6fe5498>):
35: <% end ->
36: </tbody>
37: </table>
38: </div>
39: <= call_hook(:view_timelog_index_list_after_entry, {:entry => entry}) >
40: < end -%>
41:
app/views/timelog/_list.html.erb:38:in `_app_views_timelog__list_html_erb___263291078_70140769473980'
app/views/timelog/_list.html.erb:1:in `_app_views_timelog__list_html_erb___263291078_70140769473980'
app/views/timelog/index.html.erb:20:in `_app_views_timelog_index_html_erb___368645698_70140772888660'
app/controllers/timelog_controller.rb:63:in `index'
app/controllers/timelog_controller.rb:51:in `index'
Thank you!