Smart Date workaround is broken

Created on 24 March 2023, about 2 years ago

Problem/Motivation

\Drupal\calendar_view\Plugin\views\style\CalendarViewBase::processResult contains a workaround for recurring smart date fields but that breaks the result if we use a smart data which is not recurring.

Proposed resolution

A first step is to check if the field definition allows recurring. As mine doesn't, this already resolves my issue. But I can imagine that others may have smart date fields that allow recurring but an instance may not use it. As I don't have such a use case, I don't know how to handle that. At least for the first step, I'll provide an MR.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024