
Selecting wrong date makes and exception...
Reported by Robert Pankowecki | April 15th, 2009 @ 04:06 PM | in 1.0
Ex. When someone select unexisting day in month like 30 feb...
Processing ReportsController#create (for 89.248.166.200 at 2009-04-15 16:04:43) [POST] Parameters: {"commit"=>"Zapisz i pokaż", "share_report"=>{"report_view_type"=>"pie", "name"=>"Struktura przychodów od początku używania", "depth"=>"1", "category_id"=>"27", "max_categories_values_count"=>"10", "relative_period"=>"0"}, "report_day_ShareReport_end"=>{"month"=>"4", "day"=>"31", "year"=>"2009"}, "action"=>"create", "report_day_ShareReport_start"=>{"month"=>"1", "day"=>"1", "year"=>"2006"}, "report_type"=>"ShareReport", "report_day_ShareReport_period"=>"SELECTED", "controller"=>"reports"}
ArgumentError (invalid date):
/home/rupert/binary/ruby-1.8.7-p72//lib/ruby/1.8/date.rb:752:in
new'
app/controllers/application_controller.rb:36:in
get_period'
app/controllers/reports_controller.rb:64:in
create'
Comments and changes to this ticket
-
Robert Pankowecki April 16th, 2009 @ 03:08 PM
- State changed from new to resolved
(from [b1450983648a69e0d707aa23c2dac0b950c9edce]) Improved processing dates. [#42 state:resolved] http://github.com/paneq/manage-m...
-
Jarosław Plebański April 16th, 2009 @ 03:14 PM
this solution do not solve every date problem, for example when user manually send date like 2005-30-12 (bypassing our date selectors) we still have exception.
but this is minor bug;)
-
Robert Pankowecki April 16th, 2009 @ 03:58 PM
Your right, but who cares :-) Accidental select of wrong date in browser was primary goal of the bug.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Web
People watching this ticket
Referenced by
-
42 Selecting wrong date makes and exception... (from [b1450983648a69e0d707aa23c2dac0b950c9edce]) Improve...