Errors when sorting

Created on 8 September 2025, about 1 month ago

Problem/Motivation

In #3529219-15: Replace JSON:API Schema dependency with Open API JSON:API module , @ankitv18 discovered a couple of issues. They have not yet been validated. This issue is just to decouple them. I'm copying the original report here verbatim:

I've validated the functionality of this module and found few issues on sorting tab.

When I add the moderation_state

Drupal\Core\Entity\Query\QueryException: 'moderation_state' not found in Drupal\Core\Entity\Query\Sql\Tables->ensureEntityTable() (line 373 of /var/www/html/docroot/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php).



When I add the UUID or Path field getting 400 error in response.

Drupal\Core\Http\Exception\CacheableBadRequestHttpException: Invalid nested filtering. The field `uuid`, given in the path `uuid`, does not exist. in Drupal\jsonapi\Context\FieldResolver->resolveInternalEntityQueryPath() (line 292 of /var/www/html/docroot/core/modules/jsonapi/src/Context/FieldResolver.php).

<!-- <h4 id="summary-steps-reproduce">Steps to reproduce</h4> --><!-- <h3 id="summary-proposed-resolution">Proposed resolution</h3> --><!-- <h3 id="summary-remaining-tasks">Remaining tasks</h3> --><!-- <h3 id="summary-ui-changes">User interface changes</h3> --><!-- <h3 id="summary-api-changes">API changes</h3> --><!-- <h3 id="summary-data-model-changes">Data model changes</h3> -->
🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇺🇸United States traviscarden

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