Project

General

Profile

Actions

Bug #105693

open

DB field without TCA breaks saving be_users

Added by Philipp Kitzberger 14 days ago. Updated 7 days ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2024-11-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When having a table column in be_users that doesn't correspond to a TCA field definition it's not possible anymore to update a BE user record due to a ColumnDoesNotExistException: There is no column with name "zzz_deleted_cruser_id" on table "be_users"

This can happen after doing DB compare and having fields renamed to zzz_deleted_...

After dropping them the problem is gone.

We noticed this problem first in version 12.4.22. But it's occurring on the current main branch as well!

How to reproduce:
  • ALTER TABLE be_users ADD column zzz_deleted_cruser_id INT(11);
  • Try and save a BE user record

It's not reproducible with other tables such as tt_content!


Files

Actions

Also available in: Atom PDF