Cannot create weekly recurring todo
As of revision:9b92306252e42833f6003a1a10c028b0d39015a0, daily/monthly/yearly tasks can be created without error. Weekly fails with the validation error "Context can't be blank."
Started POST "/recurring_todos" for 192.168.0.18 at 2014-06-19 11:07:29 -0400
Processing by RecurringTodosController#create as JS
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Hovmc9a2+j5bMrqsuNQqz030RMKS6i6/d4K8MtqbDww=", "recurring_todo"=>{"description"=>"Test", "notes"=>"", "recurring_period"=>"weekly", "start_from"=>"19/06/2014", "ends_on"=>"no_end_date", "number_of_occurences"=>"", "end_date"=>"", "daily_selector"=>"daily_every_x_day", "daily_every_x_days"=>"1", "weekly_every_x_week"=>"1", "weekly_return_thursday"=>"t", "monthly_selector"=>"monthly_every_x_day", "monthly_every_x_day"=>"19", "monthly_every_x_month"=>"1", "monthly_every_xth_day"=>"1", "monthly_day_of_week"=>"4", "monthly_every_x_month2"=>"1", "yearly_selector"=>"yearly_every_x_day", "yearly_month_of_year"=>"6", "yearly_every_x_day"=>"19", "yearly_every_xth_day"=>"1", "yearly_day_of_week"=>"4", "yearly_month_of_year2"=>"6", "recurring_target"=>"due_date", "recurring_show_always"=>"1", "recurring_show_days_before"=>"0"}, "project_name"=>"", "context_name"=>"context1", "tag_list"=>"", "_source_view"=>"recurring_todo", "_group_view_by"=>"context", "_tag_name"=>""}
User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
Preference Load (0.5ms) SELECT "preferences".* FROM "preferences" WHERE "preferences"."user_id" = ? LIMIT 1 [["user_id", 1]]
Context Load (0.7ms) SELECT "contexts".* FROM "contexts" WHERE "contexts"."user_id" = ? AND "contexts"."name" = 'context1' ORDER BY position ASC LIMIT 1 [["user_id", 1]]
Unpermitted parameters: context
(0.4ms) begin transaction
(4.6ms) commit transaction
(0.3ms) begin transaction
User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
(4.5ms) rollback transaction
Rendered recurring_todos/create.js.erb (11.5ms)
Completed 200 OK in 255ms (Views: 52.8ms | ActiveRecord: 12.6ms)
Leave a comment
on 2014-06-19 15:12 *
By zoombody
Summary changed from Error on creating weekly reccuring todo to Error on creating weekly recurring todo
Description changed from I'm using the git master br... to As of [[r:9b92306252e42833f...
Summary changed from Error on creating weekly reccuring todo to Error on creating weekly recurring todo
Description changed from I'm using the git master br... to As of [[r:9b92306252e42833f...
Migrated to GitHub issue #1462