Project

General

Profile

Actions

Feature #36609

open

Overwriting flexform in page TSConfig is not respected in TCEMain

Added by Aske Ertmann about 12 years ago. Updated over 6 years ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2012-04-26
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

Overwriting flexform values for tt_content in page TSConfig works fine when generating the form, but when TCEMain saves the record the flexform is read again but not overwritten by TSConfig. This gives issues when changing the eval config of a field in flexform. Because in the form it works like expected, but when saving an unexpected value is stored.

Example:

TCEFORM {
    tt_content {
        pi_flexform {
            table {
                sDEF {
                    acctables_tableclass {
                        config {
                            default = table table-bordered
                            eval = trim
                        }
                    }
                }
            }
        }
    }
}

Allows multiple classes in the form, but when saving the original eval value "nospace,trim,alphanum_x" (typo3/sysext/css_styled_content/flexform_ds.xml:88) is used and removes the space and other things..


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #103532: Using TSconfig TCEFORM to change existing flexform field configuration does not workUnder Review2024-04-04

Actions
Actions

Also available in: Atom PDF