QueryException on retroactive update

Created on 18 April 2024, 2 months ago
Updated 13 May 2024, about 1 month ago

Problem/Motivation

When enabling Retroactive update in profile picture (config/people/accounts/fields/user.user.user_picture) I get an error 500 with the following message displayed in the white screen. This happens only in account settings, retroactive update works fine in node's images. No problem either with Active updating,
My settings: file path "pictures/user-profiles" and filename "[file:ffp-name-only-original].[file:ffp-extension-original]"
Drupal 10.2.5, php 8.2.15

Drupal\Core\Entity\Query\QueryException: '' not found in Drupal\Core\Entity\Query\Sql\Tables->ensureEntityTable() (line 369 of core/lib/Drupal/Core/Entity/Query/Sql/Tables.php).
Drupal\Core\Entity\Query\Sql\Tables->addField() (Line: 58)
Drupal\Core\Entity\Query\Sql\Condition->compile() (Line: 176)
Drupal\Core\Entity\Query\Sql\Query->compile() (Line: 81)
Drupal\Core\Entity\Query\Sql\Query->execute() (Line: 260)
filefield_paths_batch_update() (Line: 233)
filefield_paths_form_submit()
...

I'm not sure this is a filefield_paths issue or a core one. On a search engine we can see a lot of cases in various situations when this error occurs.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France erwangel

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

Comments & Activities

Production build 0.69.0 2024