Closed (fixed)
Project:
MyREST
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2026 at 07:36 UTC
Updated:
15 Sep 2026 at 11:34 UTC
Jump to comment: Most recent
The recipe the module is developed against declares several fields with a different type from the sites the code was written for. The code reads those fields the way the sites store them, so on the development site four listing and detail endpoints answer with a fatal error instead of a payload:
field_facets references taxonomy terms, and on thirteen node bundles; the sites reference myfacet entities from the bundle that holds the listing settings. MyfacetManager::normalizeMyfacets() calls isActive() on what it gets and fatals on a term.field_article_image, field_doctor_photo and field_photo_preview are image fields; on the sites they reference media of the image type, and field_doctor_certificates, field_doctor_photos and the term field field_main_img — media as well — are missing altogether.A development site whose model differs from the one the code expects tests neither: the errors hide every key behind them, and a green run on it says nothing about a real site.
image type with real files, myfacet entities — with the characteristics they point at — referenced from the bundles that hold listing settings.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