what if entity is not found

Created on 1 December 2020, about 4 years ago
Updated 31 January 2025, 5 days ago

I'm using external entities for data that is fetched with REST. When I go to a URL of an entity that existed previously, an exception occurs, because the entity can't be rendered. I want to throw a 404, but that results in infinite recursion. Core solves this by throwing the error when Entity::load function returns FALSE. Could you do this too?

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇧🇪Belgium stevendeleus

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024