Issue Bug Closed

#83069SQL error: A field occuring in l10n_state and/or be_users.uc is selected on saving even if it is not configured in TCA anymore

S P 11/23/17, 09:41 updated 03/09/18, 15:07

Description

Steps to reproduce:
  1. Add a field to pages_language_overlay in DB and TCA (or probably any other l10n_state enabled table) and make it translatable
  2. localize a row in pages
  3. remove the field again from Database and TCA
  4. now try to save the same row again in L=0

You’ll get an SQL error because it is still tried to be selected because it’s in the serialized array of the l10n_state column.

I also had to clear be_users.uc in some cases to get rid of the error. So it’s possible that a variant of this behaviour is already in v7 even though there’s no l10n_state.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.