date_occur_ui_menu_local_tasks_alter() crashes when viewing a node after adding an occurrences field

Created on 13 March 2024, 4 months ago
Updated 29 March 2024, 3 months ago

Problem/Motivation

I had an existing node type with a recurring date field (the 'event' node type from LocalGov events).

I added an occurrence field to it, matching the settings of the one from the example module.

I went to look at an event node I'd created before adding the occurrence field.

I got:

> Error: Call to a member function isEmpty() on null in date_occur_ui_menu_local_tasks_alter() (line 160 of modules/contrib/date_occur/date_occur_ui/date_occur_ui.module).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom joachim

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024