Closed (fixed)
Project:
MyREST
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2026 at 11:12 UTC
Updated:
27 Aug 2026 at 11:52 UTC
Jump to comment: Most recent
A site names the nodes behind its special pages — the front page, the services page, the blog — in the settings of this module. The service that reads them returns NULL when a page has not been named, which is the normal state of a fresh install, of a site being set up, and of the site every test runs on. Most callers pass that NULL to the entity loader of this module, which is built for it and answers NULL. Three do not, and two other kinds of caller do something worse than fail.
Cannot load the "node" entity with NULL ID. In production, where assertions are compiled out, the same call returns NULL and the endpoint answers the empty response it meant to answer all along. A defect that shows only where developers work is the kind that survives longest.'/node/' . $id and ask the alias manager about it. With no ID that is a question about /node/, and the answer - the string itself - is handed to the front end as the address of a page.'node:' . $id, which with no ID is the tag node:: a tag no invalidation will ever match, so the response is cached and never refreshed.Everything.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
sergeydruua commentedComment #6
sergeydruua commented