nicstuff / redmine_timesheet_extensions Goto Github PK
View Code? Open in Web Editor NEWRedmine plugin furnishing some extensions about time informations
License: Other
Redmine plugin furnishing some extensions about time informations
License: Other
Something like:
for each time entry
Hello!
i create a custom time sheet! Then i make a right click on a time entry an gets following error (in Firebug console)!
Running
Firebug output
I hope we can find a solution to this problem.
Thanks!
Hi!
I seem to have this problem every time I update an issue. Here's the log file output:
Processing IssuesController#update (for xxx.xxx.xxx.xxx at 2011-02-14 01:21:38) [PUT] Parameters: {"time_entry"=>{"billed_hours"=>"", "comments"=>"", "end_minute"=>"", "activity_id"=>"8", "start_hour"=>"1", "hours"=>"", "start_minute"=>"0", "end_hour"=>""}, "commit"=>"Submit", "notes"=>"", "action"=>"update", "_method"=>"put", "authenticity_token"=>"random_hex_here", "id"=>"4", "issue"=>{"start_date"=>"2011-02-14", "estimated_hours"=>"1.0", "priority_id"=>"4", "fixed_version_id"=>"1", "lock_version"=>"0", "done_ratio"=>"0", "assigned_to_id"=>"", "subject"=>"Analysis and Design - v.01alpha", "tracker_id"=>"1", "due_date"=>"2011-02-14", "description"=>"description here\r\n", "status_id"=>"1"}, "controller"=>"issues", "attachments"=>{"1"=>{"file"=>"", "description"=>""}}} Rendering template within layouts/base Rendering common/403 (403) Filter chain halted as [:authorize] rendered_or_redirected. Completed in 39ms (View: 27, DB: 6) | 403 Forbidden [http://example.com/projects/issues/update/4]
I hope we can find a solution to this problem.
Thanks!
[ simon.cpu ]
Just after a clean installation on Redmine without original timesheet_plugin the plugin doesn't work and shows Error 500 with the following trace:
ActionView::TemplateError (No plugin called 'timesheet_extensions' - please use the full name of a loaded plugin.) on line #6 of vendor/plugi
ns/redmine_timesheet_extensions/app/views/timesheet/index.rhtml:
3: <%= render :partial => 'form' %>
4:
5: <% content_for(:header_tags) do %>
6: <%= stylesheet_link_tag "timesheet.css", :plugin => "timesheet_extensions", :media => 'all' %>
7: <%= javascript_include_tag 'timesheet.js', :plugin => 'timesheet_extensions' %>
8: <% end %>
vendor/plugins/redmine_timesheet_extensions/app/views/timesheet/index.rhtml:6
app/helpers/application_helper.rb:989:in `content_for'
This is because the old Davis' plugin is referenced in the template, the following patch fixed the error:
diff --git a/app/views/timesheet/index.rhtml b/app/views/timesheet/index.rhtml
index 694a1b2..0627645 100644
--- a/app/views/timesheet/index.rhtml
+++ b/app/views/timesheet/index.rhtml
@@ -3,6 +3,6 @@
<%= render :partial => 'form' %>
<% content_for(:header_tags) do %>
-<%= stylesheet_link_tag "timesheet.css", :plugin => "timesheet_plugin", :media => 'all' %>
-<%= javascript_include_tag 'timesheet.js', :plugin => 'timesheet_plugin' %>
+<%= stylesheet_link_tag "timesheet.css", :plugin => "redmine_timesheet_extensions", :media => 'all' %>
+<%= javascript_include_tag 'timesheet.js', :plugin => 'redmine_timesheet_extensions' %>
<% end %>
Not sure how many references to the old plugin are still there, grep show quite a disturbing number.
Does it mean that the plugin still requires the unmodified timesheet_plugin to function properly?
Someone told me that had a problem when a non-admin creates a report: the ruby process which gets started consumes 100% of CPU.
This happens in the following conditions:
Is there any planned development for compatibility? I have installed 2.x without thinking there would be an issue of using this plugin.
Thanks,
Mike
Handler for /timesheet/reset does not appear to exist?
Steps to reproduce:
This error (HTTP 405 Method Not Allowed) means that Internet Explorer was able to connect to the website, but the site has a programming error.
Processing ApplicationController#index (for 74.93.20.89 at 2011-04-14 15:29:24) [POST] Parameters: {"time_entry"=>{"billed_hours"=>"", "comments"=>"Uploaded latest J1.5.23", "issue_id"=>"450", "end_minute"=>"30", "activity_id"=>"12", "start_hour"=>"11", "spent_on"=>"2011-04-13", "start_minute"=>"0", "hours"=>"0.5", "end_hour"=>"11"}, "back_url"=>"http%3A%2F%2Fdev.greatlittlebook.com%2Fcustom_timesheet%2Freport", "commit"=>"Save", "authenticity_token"=>"XXXXXXXXXXXXXX="} ActionController::MethodNotAllowed (Only get requests are allowed.): /dh/passenger/lib/phusion_passenger/rack/request_handler.rb:92:in `process_request' /dh/passenger/lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop' /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:400:in `start_request_handler' /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:351:in `handle_spawn_application' /dh/passenger/lib/phusion_passenger/utils.rb:184:in `safe_fork' /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:349:in `handle_spawn_application' /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `__send__' /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop' /dh/passenger/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously' /dh/passenger/lib/phusion_passenger/abstract_server.rb:163:in `start' /dh/passenger/lib/phusion_passenger/railz/application_spawner.rb:209:in `start' /dh/passenger/lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application' /dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' /dh/passenger/lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application' /dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize' /dh/passenger/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' /dh/passenger/lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application' /dh/passenger/lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application' /dh/passenger/lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application' /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `__send__' /dh/passenger/lib/phusion_passenger/abstract_server.rb:352:in `main_loop' /dh/passenger/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
Happens in IE and FF.
Jw
Hi,
Would you please help me out how to add the these columns(%done,status)to timesheet plugin.I have a lots of hopes on you.
Thanks in advance.
Jill.
pt-BR:
field_start_hour: Data Inicial
field_start_minute: ""
field_end_hour: Data Final
field_end_minute: ""
field_billed_hours: Horas Trabalhadas
error_et_less_than_st: Data Final deve ser maior do que a Data Inicial
error_et_mandatory_ifnot_hours: é obrigatório de o campo Horas estiver vazio
error_h_mb_grthan_zero: deve ser maior do que 0
timesheet_title: Timesheet
timesheet_period: Periodo
timesheet_date_from_label: apartir
timesheet_date_to_label: até
timesheet_users_label: Users
timesheet_showing_users: 'Mostrando o tempo de: '
timesheet_permalink: '(Link permanente para o timesheet)'
timesheet_group_by: pelo grupo
timesheet_sort_by: classificar por
timesheet_week_of_year: semana do ano
timesheet_groupby_day: Dia
t_comment: Comentario
timesheet_billed_hours: horas trabalhadas
timesheet_total: Total
t_filters: Filtros
t_fields_to_include: Campos para incluir
t_activities: Atividades
t_projects: Projetos
t_users: Usuarios
t_javascript_warns:
st_after_et: Atenção!!! Hora de término é anterior a hora de início
st_notinday: Atenção!!! Hora de início não é a data de hoje
et_notinday: Atenção!!! Hora de término não é a data de hoje
When filling in the normal "Spent Time" section of the issue update form, I get error
Start time can't be empty
But there is no Start time field on this page!
I would suggest that Start time and End time be optional. Sometimes it is necessary to enter total hours without recording specific times.
Thanks!
The french translation needs to be updated with the text added in issue 6 solution. Is there someone able to do this? Thanks
nic
Is there any planned development for compatibility? I have installed 2.x without thinking there would be an issue of using this plugin.
Thanks,
Mike
I am using the time-sheet extensions in two installations of redmine 1.0.5.
While the one installation displays the timesheet filter dialog as in your screenshot (and as expected) in multiple columns, using the width of the screen, my other installation only seems to use one column.
If I click on "Timesheet", I can see under each other (instead of beside each other)
Period
From
Sort by
Technically the filter works, but it makes it difficult to select the wanted filter criteria, as a lot of scrolling is needed. Any idea of how to fix this?
Hi,
timelog is returning a 404 after creating a new time entrie in /time_entries/new.
I'm using the newest version of redmine.
Redmine 1.3.2 clean instalation
redmine_timesheet_extensions installed as described at wiki page
All the fields at http://redmine.mypc/issues/1/time_entries/new has any values
After clicking "Save" I have "Start time can't be empty" error..
At this time in tail -f log/production.log:
[...]
Processing TimelogController#create (for 192.168.2.222 at 2012-07-17 17:25:47) [POST]
Parameters: {"time_entry"=>{"billed_hours"=>"1", "comments"=>"commmment", "issue_id"=>"1", "end_minute"=>"0", "activity_id"=>"8", "start_hour"=>"0", "spent_on"=>"2012-07-17", "start_minute"=>"0", "hours"=>"1", "end_hour"=>"1"}, "back_url"=>"http%3A%2F%2F192.168.2.235%3A3000%2Fissues%2F1", "commit"=>"Save", "project_id"=>"demo", "action"=>"create", "authenticity_token"=>"dG58ciRg0yxcVMXt9hlQIr9zCY+j9PEKLaQ6kpuRR+s=", "controller"=>"timelog"}
[...]
What can I do to fix this trouble?
Hi,
I' ve found a new problem. Sometimes when i submit a issue update with a filled time entry, i get a 500 error page.
Related log :
ActionView::TemplateError (undefined method `[]' for nil:NilClass) on line # 22 of vendor/plugins/redmine_timesheet_extensions/app/views/timelog/edit.rhtml:
19:
20: <h2><%= l(:label_spent_time) %></h2>
21:
22: <% labelled_tabular_form_for :time_entry, @time_entry, :url => {:action => 'edit', :id => @time_entry, :project_id => @time_entry.project} do |f| %>
23: <%= error_messages_for 'time_entry' %>
24: <%= back_url_hidden_field_tag %>
25:
app/helpers/application_helper.rb:702:in `labelled_tabular_form_for'
vendor/plugins/redmine_timesheet_extensions/app/views/timelog/edit.rhtml:22:in `_run_rhtml_vendor47plugins47redmine_timesheet_extensions47app47views47timelog47edit46rhtml'
Rendering /home/redmine/redmine-www/public/500.html (500 Internal Server Error)
Steps to reproduce
Processing CustomTimesheetsController#report to csv (for 150.70.172.102 at 2011-04-14 15:07:22) [GET] Parameters: {"format"=>"csv", "action"=>"report", "timesheet"=>{"date_to"=>"2011-04-01", "projects"=>["14", "13", "11", "30", "29", "36", "47", "67", "27", "17", "51", "1", "49", "73", "12", "37", "35", "28", "66", "41", "22", "26", "52", "56", "4", "71", "48", "54", "55", "10", "57", "23", "21", "24", "25", "3", "9", "16", "15", "7", "40", "33", "58", "53", "44", "45", "72", "43", "42", "74", "39", "64", "50", ""], "date_from"=>"2011-03-01", "activities"=>["8", "9", "10", "11", "12"]}, "controller"=>"custom_timesheets"} Filter chain halted as [:check_if_login_required] rendered_or_redirected. Completed in 7ms (View: 0, DB: 2) | 406 Not Acceptable [http://dev.greatlittlebook.com/custom_timesheet/report?format=csv×heet%5Bactivities%5D%5B%5D=8×heet%5Bactivities%5D%5B%5D=9×heet%5Bactivities%5D%5B%5D=10×heet%5Bactivities%5D%5B%5D=11×heet%5Bactivities%5D%5B%5D=12×heet%5Bdate_from%5D=2011-03-01×heet%5Bdate_to%5D=2011-04-01×heet%5Bprojects%5D%5B%5D=14×heet%5Bprojects%5D%5B%5D=13×heet%5Bprojects%5D%5B%5D=11×heet%5Bprojects%5D%5B%5D=30×heet%5Bprojects%5D%5B%5D=29×heet%5Bprojects%5D%5B%5D=36×heet%5Bprojects%5D%5B%5D=47×heet%5Bprojects%5D%5B%5D=67×heet%5Bprojects%5D%5B%5D=27×heet%5Bprojects%5D%5B%5D=17×heet%5Bprojects%5D%5B%5D=51×heet%5Bprojects%5D%5B%5D=1×heet%5Bprojects%5D%5B%5D=49×heet%5Bprojects%5D%5B%5D=73×heet%5Bprojects%5D%5B%5D=12×heet%5Bprojects%5D%5B%5D=37×heet%5Bprojects%5D%5B%5D=35×heet%5Bprojects%5D%5B%5D=28×heet%5Bprojects%5D%5B%5D=66×heet%5Bprojects%5D%5B%5D=41×heet%5Bprojects%5D%5B%5D=22×heet%5Bprojects%5D%5B%5D=26×heet%5Bprojects%5D%5B%5D=52×heet%5Bprojects%5D%5B%5D=56×heet%5Bprojects%5D%5B%5D=4×heet%5Bprojects%5D%5B%5D=71×heet%5Bprojects%5D%5B%5D=48×heet%5Bprojects%5D%5B%5D=54×heet%5Bprojects%5D%5B%5D=55×heet%5Bprojects%5D%5B%5D=10×heet%5Bprojects%5D%5B%5D=57×heet%5Bprojects%5D%5B%5D=23×heet%5Bprojects%5D%5B%5D=21×heet%5Bprojects%5D%5B%5D=24×heet%5Bprojects%5D%5B%5D=25×heet%5Bprojects%5D%5B%5D=3×heet%5Bprojects%5D%5B%5D=9×heet%5Bprojects%5D%5B%5D=16×heet%5Bprojects%5D%5B%5D=15×heet%5Bprojects%5D%5B%5D=7×heet%5Bprojects%5D%5B%5D=40×heet%5Bprojects%5D%5B%5D=33×heet%5Bprojects%5D%5B%5D=58×heet%5Bprojects%5D%5B%5D=53×heet%5Bprojects%5D%5B%5D=44×heet%5Bprojects%5D%5B%5D=45×heet%5Bprojects%5D%5B%5D=72×heet%5Bprojects%5D%5B%5D=43×heet%5Bprojects%5D%5B%5D=42×heet%5Bprojects%5D%5B%5D=74×heet%5Bprojects%5D%5B%5D=39×heet%5Bprojects%5D%5B%5D=64×heet%5Bprojects%5D%5B%5D=50×heet%5Bprojects%5D%5B%5D=]
Works with about 15 projects but might be too long a URL
Jw
The alert box is not translated (still in spanish) when you put the start time bigger than the end time.
I have an issue after installing the plugin on redmine 1.0. (stable - shipped with Debian 6).
When trying to add an amount of time to an existing ticket / activity it tries to access "/timelog/create" withing the project specifig URI that results in a 404 error. Any ideas?
btw. sorry for the double posting, mixed up the URI in the other 404 issue.... (#17)
When I install this plugin I run get an internal server error when trying to view a timesheet. The error log show the following, it seems something goes wrong with billed_hours:
ActionView::TemplateError (undefined method `billed_hours' for #<TimeEntry:0x7fca5c80d0f8>) on line #55 of vendor/plugins/redmine_timesheet_extensions/app/views/custom_timesheets/report.html.erb:
52: <% end %>
53: <%= table_col false, 'comments' do time_entry.comments end %>
54: <%= table_col true, 'hours' do number_with_precision(time_entry.hours, :precision => @precision) end %>
55: <%= table_col true, 'billed_hours' do '<strong>' + number_with_precision(time_entry.billed_hours, :precision => @precision) + '</strong>' unless time_entry.billed_hours.blank? end %>
56: <% if selected?('id') %>
57: <td align="center">
58: <% if time_entry.editable_by?(User.current) -%>
/usr/lib/ruby/vendor_ruby/active_record/attribute_methods.rb:260:in `method_missing'
vendor/plugins/redmine_timesheet_extensions/app/views/custom_timesheets/report.html.erb:55
vendor/plugins/redmine_timesheet_extensions/app/helpers/custom_timesheets_helper.rb:122:in `table_col'
vendor/plugins/redmine_timesheet_extensions/app/views/custom_timesheets/report.html.erb:55
vendor/plugins/redmine_timesheet_extensions/app/views/custom_timesheets/report.html.erb:33:in `each'
vendor/plugins/redmine_timesheet_extensions/app/views/custom_timesheets/report.html.erb:33
/usr/lib/ruby/vendor_ruby/action_view/renderable.rb:34:in `send'
/usr/lib/ruby/vendor_ruby/action_view/renderable.rb:34:in `render'
/usr/lib/ruby/vendor_ruby/action_view/base.rb:306:in `with_template'
/usr/lib/ruby/vendor_ruby/action_view/renderable.rb:30:in `render'
/usr/lib/ruby/vendor_ruby/action_view/template.rb:205:in `render_template'
/usr/lib/ruby/vendor_ruby/action_view/base.rb:265:in `render'
/usr/lib/ruby/vendor_ruby/action_view/base.rb:348:in `_render_with_layout'
/usr/lib/ruby/vendor_ruby/action_view/base.rb:262:in `render'
/usr/lib/ruby/vendor_ruby/action_controller/base.rb:1252:in `render_for_file'
/usr/lib/ruby/vendor_ruby/action_controller/base.rb:942:in `render_without_benchmark'
/usr/lib/ruby/vendor_ruby/action_controller/benchmarking.rb:51:in `render'
/usr/lib/ruby/vendor_ruby/action_controller/benchmarking.rb:51:in `render'
/usr/lib/ruby/vendor_ruby/action_controller/mime_responds.rb:135:in `send'
/usr/lib/ruby/vendor_ruby/action_controller/mime_responds.rb:135:in `custom'
/usr/lib/ruby/vendor_ruby/action_controller/mime_responds.rb:179:in `call'
/usr/lib/ruby/vendor_ruby/action_controller/mime_responds.rb:179:in `respond'
/usr/lib/ruby/vendor_ruby/action_controller/mime_responds.rb:173:in `each'
/usr/lib/ruby/vendor_ruby/action_controller/mime_responds.rb:173:in `respond'
/usr/lib/ruby/vendor_ruby/action_controller/mime_responds.rb:107:in `respond_to'
vendor/plugins/redmine_timesheet_extensions/app/controllers/custom_timesheets_controller.rb:61:in `report'
/usr/lib/ruby/vendor_ruby/action_controller/base.rb:1333:in `send'
/usr/lib/ruby/vendor_ruby/action_controller/base.rb:1333:in `perform_action_without_filters'
/usr/lib/ruby/vendor_ruby/action_controller/filters.rb:617:in `call_filters'
/usr/lib/ruby/vendor_ruby/action_controller/filters.rb:610:in `perform_action_without_benchmark'
/usr/lib/ruby/vendor_ruby/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/vendor_ruby/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/usr/lib/ruby/vendor_ruby/action_controller/rescue.rb:160:in `perform_action_without_flash'
/usr/lib/ruby/vendor_ruby/action_controller/flash.rb:151:in `perform_action'
/usr/lib/ruby/vendor_ruby/action_controller/base.rb:532:in `send'
/usr/lib/ruby/vendor_ruby/action_controller/base.rb:532:in `process_without_filters'
/usr/lib/ruby/vendor_ruby/action_controller/filters.rb:606:in `process'
/usr/lib/ruby/vendor_ruby/action_controller/base.rb:391:in `process'
/usr/lib/ruby/vendor_ruby/action_controller/base.rb:386:in `call'
/usr/lib/ruby/vendor_ruby/action_controller/routing/route_set.rb:438:in `call'
/usr/lib/ruby/vendor_ruby/action_controller/dispatcher.rb:87:in `dispatch'
/usr/lib/ruby/vendor_ruby/action_controller/dispatcher.rb:121:in `_call'
/usr/lib/ruby/vendor_ruby/action_controller/dispatcher.rb:130:in `build_middleware_stack'
/usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:29:in `call'
/usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:29:in `call'
/usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
/usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:9:in `cache'
/usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:28:in `call'
/usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
/usr/lib/ruby/vendor_ruby/action_controller/string_coercion.rb:25:in `call'
/usr/lib/ruby/vendor_ruby/rack/head.rb:9:in `call'
/usr/lib/ruby/vendor_ruby/rack/methodoverride.rb:24:in `call'
/usr/lib/ruby/vendor_ruby/action_controller/params_parser.rb:15:in `call'
/usr/lib/ruby/vendor_ruby/action_controller/session/cookie_store.rb:99:in `call'
/usr/lib/ruby/vendor_ruby/action_controller/failsafe.rb:26:in `call'
/usr/lib/ruby/vendor_ruby/rack/lock.rb:15:in `call'
/usr/lib/ruby/vendor_ruby/action_controller/dispatcher.rb:106:in `call'
/usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:95:in `process_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:374:in `start_request_handler'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:332:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:330:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:209:in `start'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/phusion_passenger/passenger-spawn-server:61
Hello!
i create a custom time sheet! Then i click on (Permalink to this timesheet) and gets a 404 error!
Running
Processing ApplicationController#index (for 172.19.0.208 at 2011-04-11 15:29:41) [GET]
Parameters: {"timesheet"=>{"total_hours"=>"0", "date_to"=>"2011-04-11", "projects"=>["4"], "date_from"=>"2011-03-12", "total_billed_hours"=>"0", "activities"=>["12"], "users"=>["1"], "sort"=>"issue_id", "selected_fields"=>{"billed_hours"=>"1", "comments"=>"1", "issue_id"=>"1", "project_id"=>"1", "activity_id"=>"1", "id"=>"1", "spent_on"=>"1", "user_id"=>"1", "hours"=>"1", "tweek"=>"1"}}}
ActionController::RoutingError (No route matches "/timesheet/report" with {:method=>:get}):
/usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:418:in `start_request_handler'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/phusion_passenger/passenger-spawn-server:61
Rendering /srv/www/redmine.cevo.de/public/404.html (404 Not Found)
I hope we can find a solution to this problem.
Thanks!
i like the idea of having something that collects know-how across projects. this module seems to exactly address that. so i gave it a try while setting up our new redmine environment (latest 2.2 from svn).
knowledgebase is the only active module right now. after succesfuly adding some content i suddenly got stuck with a 500. tried an 'ordinary user' and root, no difference.
found this in the log:
... Rendered plugins/redmine_knowledgebase/app/views/articles/_list.html.erb (9.3ms) Rendered plugins/redmine_knowledgebase/app/views/knowledgebase/index.html.erb within layouts/base (28.6ms) Completed 500 Internal Server Error in 63ms ActionView::Template::Error (undefined method `title' for nil:NilClass): 2:3: <% truncate_length = 100 if local_assigns[:truncate_length].nil? %> 4: <%= link_to truncate(article.title, :length => truncate_length), { :controller => 'articles', :action => 'show', :id => article.id }, :title => article.title %> 5: <%= format_article_summary(article, summary_format, :truncate => truncate_length ) %> 6:7: <% end %> plugins/redmine_knowledgebase/app/helpers/knowledgebase_helper.rb:26:in `format_article_summary' ...
i don't speak ruby, i hardly know what rails are - wouldn't mind if u call me dummy.
thanx for your work!
cheers,
/markus
Is it possible to create configuration for the plugin to enable/disable start and end time.
It would be eve helpful if we could enable/disable if the fields start end time are required.
This plugin seams great for our projects, but we would not like to be forced to enter start and end time.
Thanks
Hi
I have a new problem on my redmine test environment
On issue view when clicking on new time entry link (on actions list ), i got a 500 error page.
related log :
Processing TimelogController#new (for 82.243.37.107 at 2011-02-01 18:14:31) [GET]
Parameters: {"issue_id"=>"3", "action"=>"new", "controller"=>"timelog"}
ActiveRecord::MissingAttributeError (missing attribute: hours):
app/models/time_entry.rb:47:in `after_initialize'
app/controllers/timelog_controller.rb:109:in `new'
app/controllers/timelog_controller.rb:109:in `new'
Rendering /home/redmine/redmine_test-www/public/500.html (500 Internal Server Error)
My environment
Redmine 1.1.0
Ruby 1.8.7
gem 1.4.1
rails 2.3.5
rake 0.8.7
web server : mongrel_cluster with reverse proxy apache vhost
First I view an existing issue, then click the "log time" link. I enter the appropriate time entry with all the required fields. Then I click the submit button and I'm sent to a 404 error page. The URL being accessed is /projects/fakeproject/timelog/edit
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.