Project

General

Profile

Actions

Bug #77135

closed

<config> of flexform gets rendered allthough <displayCond> is NOT fulfilled

Added by Harald Witt over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2016-07-17
Due date:
% Done:

0%

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

Description

The following example will throw an error, because the table tx_dam_mm_ref does not exist, although the displayCond is not fulfilled. This was not the case in earlier versions.

<snippet>
  <damimages>
    <TCEforms>
      <displayCond>FIELD:mode:=:dam</displayCond>
        <label>LLL:EXT:imagecycle/locallang_db.xml:tt_content.pi_flexform.damimages</label>
      <config>
        <type>group</type>
        <form_type>user</form_type>
        <userFunc><![CDATA[EXT:dam/lib/class.tx_dam_tcefunc.php:&tx_dam_tceFunc->getSingleField_typeMedia]]></userFunc>
        <userProcessClass><![CDATA[EXT:mmforeign/class.tx_mmforeign_tce.php:tx_mmforeign_tce]]></userProcessClass>
        <internal_type>db</internal_type>
        <allowed>tx_dam</allowed>
        <allowed_types>gif,jpg,jpeg,png</allowed_types>
        <prepend_tname>1</prepend_tname>
        <MM>tx_dam_mm_ref</MM>
        <MM_foreign_select>1</MM_foreign_select>
        <MM_opposite_field>1</MM_opposite_field>
        <MM_match_fields>
          <ident>imagecycle</ident>
        </MM_match_fields>
        <show_thumbs>1</show_thumbs>
        <size>10</size>
        <maxitems>1000</maxitems>
        <minitems>0</minitems>
        <autoSizeMax>30</autoSizeMax>
      </config>
    </TCEforms>
  </damimages>
</snippet>

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #76929: FlexForm displayCond not workingClosed2016-07-04

Actions
Is duplicate of TYPO3 Core - Bug #75646: displaycond not working WITHIN flexform sectionsClosed2016-04-15

Actions
Actions #1

Updated by Riccardo De Contardi over 8 years ago

  • Category set to Fluid
Actions #2

Updated by Claus Due over 8 years ago

  • Category changed from Fluid to FormEngine aka TCEforms
Actions #3

Updated by Georg Ringer over 8 years ago

closing because of a duplicate of #75646

Actions #4

Updated by Georg Ringer over 8 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF