Fail gracefully if a channel language is deleted

Created on 28 January 2025, 2 months ago

Problem/Motivation

If a language is deleted what's in use for a channel, a fatal error is thrown.

The website encountered an unexpected error. Try again later.

Error: Call to a member function getName() on null in Drupal\entity_share_server\ChannelListBuilder->buildRow() (line 106 of modules/contrib/entity_share/modules/entity_share_server/src/ChannelListBuilder.php).

Drupal\Core\Entity\EntityListBuilder->render() (Line: 23)

Proposed resolution

Mark it accordingly, but do not have a WSOD

📌 Task
Status

Needs review

Version

4.0

Component

Code

Created by

🇭🇺Hungary aron novak Hungary, Budapest

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