#42 ✓resolved
Robert Pankowecki

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 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:inget_period' app/controllers/reports_controller.rb:64:in create'

Comments and changes to this ticket

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »


Referenced by