Issue Bug Rejected

#78853BE doesn't execute displayCond of extension flexform

Christoph Dietrich 12/01/16, 14:50 updated 12/01/16, 15:00

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.