Project

General

Profile

Actions

Bug #105693

open

DB field without TCA breaks saving be_users

Added by Philipp Kitzberger about 17 hours ago. Updated about 12 hours ago.

Status:
New
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 #1

Updated by Philipp Kitzberger about 17 hours ago

  • Description updated (diff)
Actions #2

Updated by Philipp Kitzberger about 17 hours ago

  • Description updated (diff)
Actions #3

Updated by Philipp Kitzberger about 16 hours ago

  • Description updated (diff)
Actions #4

Updated by Philipp Kitzberger about 16 hours ago

  • Description updated (diff)
Actions #5

Updated by Philipp Kitzberger about 16 hours ago

  • Subject changed from DB field without TCA breaks saving record process to DB field without TCA breaks saving be_users
  • Description updated (diff)
Actions #6

Updated by Philipp Kitzberger about 16 hours ago

  • Description updated (diff)
Actions #7

Updated by Garvin Hicking about 12 hours ago

  • Category set to Database API (Doctrine DBAL)
Actions #8

Updated by Stefan Bürk about 12 hours ago

  • Assignee set to Stefan Bürk
Actions

Also available in: Atom PDF