Project

General

Profile

Actions

Bug #100062

closed

TCA description disappears when manipulating a field via PageTSconfig

Added by Marc Willmann over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2023-03-02
Due date:
% Done:

100%

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

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.


Files

original.png (27.5 KB) original.png Marc Willmann, 2023-03-02 11:16
description_breaks.png (25.9 KB) description_breaks.png Marc Willmann, 2023-03-02 11:16
overwrite_description_works.png (30 KB) overwrite_description_works.png Marc Willmann, 2023-03-02 11:16
Actions

Also available in: Atom PDF