Project

General

Profile

Actions

Feature #36609

open

Overwriting flexform in page TSConfig is not respected in TCEMain

Added by Aske Ertmann almost 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 #1

Updated by Burkhard Görtz almost 11 years ago

Aske Ertmann wrote:

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..

As a workaround you could create your own flexform_table.xml in your extension and replace the original one from css_styled_content in your ext_tables.php:

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('*', 'FILE:EXT:'.$_EXTKEY.'/flexform_table.xml', 'table');
Actions #2

Updated by Mathias Schreiber over 9 years ago

  • Target version changed from 4.7.1 to 7.4 (Backend)
  • Is Regression set to No
Actions #3

Updated by Susanne Moog over 8 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #4

Updated by Benni Mack over 8 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #5

Updated by Mathias Schreiber over 8 years ago

  • Target version deleted (7 LTS)
Actions #6

Updated by Oliver Hader over 6 years ago

  • Tracker changed from Bug to Feature

PageTS for TCEFORM is just not analyzed in DataHandler. So, this would be a general topic to process the relevant parts in DataHandler.

Actions #7

Updated by Oliver Hader over 6 years ago

  • Status changed from New to Accepted
  • Complexity set to medium
Actions #8

Updated by Garvin Hicking 22 days ago

  • Related to Bug #103532: Using TSconfig TCEFORM to change existing flexform field configuration does not work added
Actions

Also available in: Atom PDF