Review 14.3 Merged

93918[BUGFIX] Fix avatar upload in User Settings with partitioned field names

Christian Kuhn CR +2 V +2 Easy +4 −3 updated 05/02/26, 17:26

Commit message

Avatar upload could fail when setup-module.js extracted a different field name
from objectGroup than the one used by AvatarElement DOM ids, causing
getElementById() lookups to return null and triggering a TypeError.

Fix by making irreObjectId dynamic in AvatarElement
(-0-be_users-avatar-<fieldName>) and updating setup-module matching to
/(?:^|-)avatar-(.+)$/ so the full partitioned field name is resolved.

Review

  • Code review CR +2 Done
    • Christian Kuhn +2
  • Verified V +2 Done
    • Christian Kuhn +2
    • core-ci +1 CI

Issues 1

Files 3

Review log 34

  1. Christian Kuhn commented on patch set 1 05/02/26, 17:12

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 05/02/26, 17:23 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/101407

  3. Christian Kuhn voted on patch set 1 CR +2 V +2 05/02/26, 17:26

  4. Christian Kuhn merged patch set 2 05/02/26, 17:26