Closed (fixed)
Project:
JSON:API Extras
Version:
8.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2024 at 02:58 UTC
Updated:
24 Jul 2026 at 14:45 UTC
Jump to comment: Most recent
Comments
Comment #2
ptmkenny commentedI could not reproduce this based on your steps to reproduce. Please provide more specific steps about how to reproduce this issue from a clean install of Drupal 10/11.
Also, please file bug reports after testing against the dev branch of the module (3.x-dev), just in case the bug has already been fixed in dev but is not yet released.
Comment #3
lawxen commentedI can reproduced the problem with jsonapi_include enabled.
The jsonapi_inclue can't get the parameter on second request.
https://git.drupalcode.org/project/jsonapi_include/-/blob/8.x-1.x/src/Js...
$include_parameter = $this->requestStack->getCurrentRequest()->query->get('include');Comment #4
ptmkenny commented@lawxen Could you please share the Drupal and module versions you used to reproduce this?
Comment #5
lawxen commented@ptmkenny Drupal10.3.10 + "drupal/jsonapi_extras": "3.26.0" + drupal/jsonapi_include:1.8.0
Comment #6
ptmkenny commentedI'm elevating this to major because this issue is breaking the JSON:API Include module; see #3490592: Incompatible with jsonapi_default.
There are multiple people in that issue trying to find a workaround for an issue that seems to be caused by the JSON:API Defaults submodule.
Comment #8
ptmkenny commentedI used Claude Opus 4.8 to analyze this, generate a fix, and provide a test. This bug is breaking JSON:API Include for some users, so it would be great if someone else who experienced the bug can confirm that this fixes the issue for them.
Comment #9
bbralaReviewed and makes sense. Thank you.
Comment #10
bbrala