Giter Club home page Giter Club logo

redmine_timesheet_extensions's People

Contributors

nicstuff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

redmine_timesheet_extensions's Issues

Expenses

  • Would be useful to allow logging of expenses with time entries
  • Would be useful to assign pay rates to members by activity and project
  • Finally, this information could be combined to produce a profit / loss report for a project

Something like:

  • custom fields for base_rate (user), project_multiplier (project), activity_multiplier (activity) and claimable_expenses (time entry) and expenses (time entry)

for each time entry

  • invoice_amount = hours*base_rate * project_multiplier * activity_multiplier + claimable_expenses
  • profit = invoice_amount - expenses

NetworkError: 404 Not Found

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

  • Redmine 1.1.1 stable
  • Rails 2.3.5
  • Apache
  • Phusion Passenger
  • Using Firefox 4
  • Ubuntu 10.10

Firebug output

"NetworkError: 404 Not Found - http://172.19.0.XXX/timesheet/context_menu?authenticity_token=3ZFFu3tXMMdVezB4IAtRJ7430Bf5Lt7qQL4bY8rNOXX%3D&authenticity_token=3ZFFu3tXMMdVezB4IAtRJ7430Bf5Lt7qQL4bY8rNO6E%XX&timesheet%5Byear%5D=2011&timesheet%5Bmonth%5D=&timesheet%5Bperiod%5D=all&timesheet%5Bperiod_type%5D=2&timesheet%5Bdate_from%5D=2011-01-01%2000%3A00%3A00&timesheet%5Bdate_to%5D=2011-12-31%2023%3A59%3A59&timesheet%5Bsort%5D=comments&timesheet%5Bprojects%5D%5B%5D=4&timesheet%5Bactivities%5D%5B%5D=9&timesheet%5Bactivities%5D%5B%5D=12&timesheet%5Bactivities%5D%5B%5D=13&timesheet%5Bactivities%5D%5B%5D=14&timesheet%5Bactivities%5D%5B%5D=15&timesheet%5Bactivities%5D%5B%5D=16&timesheet%5Busers%5D%5B%5D=1&timesheet%5Bselected_fields%5D%5Bid%5D=1&timesheet%5Bselected_fields%5D%5Bproject_id%5D=1&timesheet%5Bselected_fields%5D%5Buser_id%5D=1&timesheet%5Bselected_fields%5D%5Bissue_id%5D=1&timesheet%5Bselected_fields%5D%5Bcomments%5D=1&timesheet%5Bselected_fields%5D%5Bactivity_id%5D=1&timesheet%5Bselected_fields%5D%5Bspent_on%5D=1&timesheet%5Bselected_fields%5D%5Btweek%5D=1&timesheet%5Bselected_fields%5D%5Bhours%5D=1&timesheet%5Bselected_fields%5D%5Bbilled_hours%5D=1&commit=Anwenden&_method=delete&ids%5B%5D=95

  • _method delete
  • authenticity_token 3ZFFu3tXMMdVezB4IAtRJ7430Bf5Lt7qQL4bY8rNOXX=
  • authenticity_token 3ZFFu3tXMMdVezB4IAtRJ7430Bf5Lt7qQL4bY8rNOXX=
  • commit Anwenden
  • ids[] 95
  • timesheet[activities][] 9
  • timesheet[activities][] 12
  • timesheet[activities][] 13
  • timesheet[activities][] 14
  • timesheet[activities][] 15
  • timesheet[activities][] 16
  • timesheet[date_from] 2011-01-01 00:00:00
  • timesheet[date_to] 2011-12-31 23:59:59
  • timesheet[month]
  • timesheet[period] all
  • timesheet[period_type] 2
  • timesheet[projects][] 4
  • timesheet[selected_fields... 1
  • timesheet[selected_fields... 1
  • timesheet[selected_fields... 1
  • timesheet[selected_fields... 1
  • timesheet[selected_fields... 1
  • timesheet[selected_fields... 1
  • timesheet[selected_fields... 1
  • timesheet[selected_fields... 1
  • timesheet[selected_fields... 1
  • timesheet[selected_fields... 1
  • timesheet[sort] comments
  • timesheet[users][] 1
  • timesheet[year] 2011

I hope we can find a solution to this problem.

Thanks!

403 Forbidden

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 ]

500 Error in /timesheet

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?

Deadlock sometimes

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:

  • passenger, webrick and thin
  • redmine 1.1.2

Redmine 2.x compatibility?

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

Edit time and Save yields 405 - Method not allowed

Steps to reproduce:

  1. Install Redmine 1.1.2.stable.5268
  2. Install latest Timesheet Extensions Plugin 0.1.0
  3. Add an issue entry and update with log time
  4. Click Timesheet menu item
  5. List todays entries
  6. Edit the entry in the list
  7. Save the entry

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

translation pt-BR

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

Cannot submit time from normal issue edit screen.

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!

Redmine 2.x compatibility?

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

Timesheet filter displayed in one column only

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?

New time_entries 404 error

Hi,

timelog is returning a 404 after creating a new time entrie in /time_entries/new.

I'm using the newest version of redmine.

"Start time can't be empty", but time_entry_start_hour has some value

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?

Issue update with time entry : get error 500

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)

Export to CSV yields 406 NotAcceptable Error

Steps to reproduce

  1. I have about 50 plus projects with issues and time entries
  2. Access the Timesheet from the main menu
  3. Generate a report for one person selecting multiple projects, at least 20 or more
  4. Click the export to CSV link
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

Translation bug

The alert box is not translated (still in spanish) when you put the start time bigger than the end time.

404 error when adding time to an acitivity / ticket

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)

Error: undefined method `billed_hours'

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

404 error on click (Permalink to this timesheet)

Hello!

i create a custom time sheet! Then i click on (Permalink to this timesheet) and gets a 404 error!

Running

  • Redmine 1.1.1 stable
  • Rails 2.3.5
  • Apache
  • Phusion Passenger
  • Using Firefox 4
  • Ubuntu 10.10

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!

500 Error trying to access /knowledgebase

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

dissable start time and end time

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

On issue view when clicking on new time entries link, i get 500 error page

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

404 Page Not Found when entering time

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.