Project

General

Profile

Actions

Bug #78853

closed

BE doesn't execute displayCond of extension flexform

Added by Christoph Dietrich over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-12-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
flexform
Complexity:
Is Regression:
No
Sprint Focus:

Description

In plugin tt_products (2.12.0) the backend throughs a SQL exception when you try to create a content element of type plugin "shop system".
The author of the plugin found out that the following displayCond seems not to be executed:

        <categorySelection>
            <TCEforms>
                <displayCond>EXT:mbi_products_categories:LOADED:TRUE</displayCond>
                <label>LLL:EXT:tt_products/locallang_db.xml:tt_content.pi_flexform.category_selection</label>
                <config>
                    <type>select</type>
                    <renderMode>tree</renderMode>
                    <foreign_table>tt_products_cat</foreign_table>
                    <foreign_table_where>AND tt_products_cat.hidden=0 ORDER BY tt_products_cat.title</foreign_table_where>
                    <autoSizeMax>45</autoSizeMax>
                    <minitems>0</minitems>
                    <maxitems>99</maxitems>
                    <treeConfig>
                        <parentField>parent_category</parentField>
                        <appearance>
                            <expandAll>1</expandAll>
                            <showHeader>1</showHeader>
                            <maxLevels>99</maxLevels>
                            <width>500</width>
                        </appearance>
                    </treeConfig>
                </config>
            </TCEforms>
        </categorySelection>

I took this part out of the file flex_form_ds_pi1.xml as a workaround.


Files


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #70052: TCA displayCond not evaluatedClosed2015-09-23

Actions
Related to TYPO3 Core - Bug #76958: displayCond LOADED does not check the loaded extensionClosed2016-07-06

Actions
Actions #1

Updated by Christian Kuhn over 7 years ago

  • Status changed from New to Rejected

Hey.

https://docs.typo3.org/typo3cms/extensions/core/Changelog/7.6/Deprecation-70052-ExtLoadedDisplayCondition.html

"ext loaded" display condition is deprecated and may even throw exceptions in 7.6 depending on details.

This can not be solved in core, tt_products must adapt here.

Franz had a similar issue already with #76958 where we tried to explain that already.

I will close the issue as "not a core issue, must be fixed in tt_products".

Actions

Also available in: Atom PDF