3.1.0 release causes EntityStorageException

Created on 22 March 2024, 8 months ago

I'm unsure what exactly causes this but with views_url_alias 3.1.0 a DELETE request via JSON:API on a node results in a 500 error:

/app/cms/web/core/lib/Drupal/Core/Entity/EntityBase.php(362): Drupal\Core\Entity\Sql\SqlContentEntityStorage->delete(Array)
#1 /app/cms/web/core/modules/jsonapi/src/Controller/EntityResource.php(388): Drupal\Core\Entity\EntityBase->delete()
#2 [internal function]: Drupal\jsonapi\Controller\EntityResource->deleteIndividual(Object(Drupal\node\Entity\Node))

With 3.0.0 everything works as expected.

πŸ› Bug report
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland yobottehg Basel

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

Comments & Activities

  • Issue created by @yobottehg
  • πŸ‡¨πŸ‡¦Canada dstorozhuk Chicago πŸ‡ΊπŸ‡Έ, Toronto πŸ‡¨πŸ‡¦, Kyiv πŸ‡ΊπŸ‡¦

    >3.0.0 everything works as expected.
    Because in 3.0.0 on Drupal version 8.8 and above the hooks which suppose to update/insert/delete records in views_url_alias table was never triggered.
    That it why you had an impression that everything was working fine. Your site, if it is on Drupal version 8.8 and above, might use outdated data that was installed on the first time of the module installation.
    Please check that.
    Which Drupal version are you using?

Production build 0.71.5 2024