Can't create a new view when selecting Calendar as display format

Created on 26 November 2024, 26 days ago

Problem/Motivation

Cannot create a new view when you add a a display on the 'Add view' page (eg. create a block) because a validation is happening too early. I will post a patch for this.

Steps to reproduce

  1. Go to Add view page
  2. click on Create a block
  3. For the block's display format select Calendar

When you the save button to create your new view, you'll get an error

\Drupal\calendar\Plugin\views\style\CalendarStyle: A calendar date argument is required when using the calendar style, to add a date argument in a view, please go to Advanced > Contextual Filters on the views configuration panel.
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024