Skip to content

ArgumentError in admin/communication/websites/agenda/events#create #3813

@SebouChu

Description

@SebouChu

Error in Osuny

ArgumentError in admin/communication/websites/agenda/events#create
comparison of Date with nil failed

errors.add(:to_day, :too_soon) if to_day.present? && to_day < from_day
                                                              ^^^^^^^^

View on Bugsnag

Stacktrace

app/models/communication/website/agenda/period/in_period.rb:62 - Comparable#<
app/models/communication/website/agenda/period/in_period.rb:62 - Communication::Website::Agenda::Period::InPeriod#to_day_after_from_day
app/controllers/admin/communication/websites/agenda/events_controller.rb:53 - Admin::Communication::Websites::Agenda::EventsController#create
app/controllers/application_controller/with_locale.rb:19 - ApplicationController::WithLocale#switch_locale

View full stacktrace

Created automatically via Bugsnag

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions