Issue Bug Closed

#100062TCA description disappears when manipulating a field via PageTSconfig

Marc Willmann 03/02/23, 11:21 updated 03/14/23, 11:47

Description

After updating a TYPO3 11 project to TYPO3 12.2 we experience a strange behaviour in the backend: on some (but not all) fields the TCA description is missing.

This behaviour seems to be related to the Page TSconfig.

If a field with a description configured in the TCA is also manipulated via PageTSconfig (not touching the description at all), the description disappears in the backend.

Steps to reproduce:

  • Choose a field with a description in the TCA.
  • Enter page.tsconfig (it does not matter if using the page.tsconfig file or the TS config field in the database), e.g.
TCEFORM {
  pages {
    fieldname {
      disabled = 0
    }
  }
}

The description is now gone.
If you overwrite the description via the PageTS config, it works again.

Perhaps the non-existent “description” configuration treated as empty string when evaluating the Page.tsconfig?

To make the issue more clear, I add some screenshots. I have configured the TSconfig field directly behind an affected field, to make it easier to comprehend.

Reviews 1