Project

General

Profile

Actions

Defect #15875

closed

Problem viewing time entries detail

Added by Gabriel Vidal over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

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!

Actions #1

Updated by Jean-Philippe Lang over 11 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

There is no view_timelog_index_list_after_entry hook in Redmine. Looks like a local change of the source code.

Actions

Also available in: Atom PDF