Skip to content

NoMethodError in admin/communication/websites/agenda/events#create #4189

Description

@SebouChu

Error in Osuny

NoMethodError in admin/communication/websites/agenda/events#create
undefined method '<' for nil

if from_day < parent.from_day || to_day > parent.to_day
            ^

View on Bugsnag

Stacktrace

app/models/communication/website/agenda/event/with_kinds.rb:123 - Communication::Website::Agenda::Event::WithKinds#in_parent_dates?
app/controllers/admin/communication/websites/agenda/events_controller.rb:66 - 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