Problem/Motivation

I'm not sure if this is actually breaking anything, but I noticed errors pointing to missing configuration settings on events that have registration.

Warning: Undefined array key "checkin_end" in Drupal\intercept_event\CheckinPeriodField->checkinDate() (line 117 of /app/web/modules/contrib/intercept/modules/intercept_event/src/CheckinPeriodField.php)

and

Warning: Undefined array key "checkin_start" in Drupal\intercept_event\CheckinPeriodField->checkinDate() (line 116 of /app/web/modules/contrib/intercept/modules/intercept_event/src/CheckinPeriodField.php)

.... and since I've been spamming you with all these small one-line merge requests, I thought I'd post this one too!

Steps to reproduce

On a fresh install create an event with a registration component.

Proposed resolution

Add the referenced config as an installation step and update the code to provide a fallback if for some reason it doesn't exist.

Issue fork intercept-3574691

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

seanfitzpatrick created an issue. See original summary.

seanfitzpatrick’s picture

Status: Active » Needs review