Project

General

Profile

Actions

Bug #70314

closed

Flexform fields of first sheet with displayCond and multiple sheets will not be displayed

Added by Stefan Froemken about 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
DataHandler aka TCEmain
Target version:
Start date:
2015-10-02
Due date:
% Done:

100%

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

Description

Hello Core-Team,

I have a FlexForm with two sheets.
First sheet has some fields with a given displayCond to another field which as also on first page.
I have checked it multiple times, the values are equal, but the field will not be displayed.

The problem is in EvaluateDisplayConditions::removeFlexformFields()

On first loop over the first sheet, the $result is OK.
On second loop over the second sheet, it has only the field values of second sheet, but it validates the displayConds of first sheet again. With no data for first sheet all conditions of first sheet will now be FALSE.

We have to stop the duplicated validation.

I have an idea where to solve that and will push a patch now.

Stefan

Actions #1

Updated by Gerrit Code Review about 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43744

Actions #2

Updated by Gerrit Code Review about 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43744

Actions #3

Updated by Gerrit Code Review about 9 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43744

Actions #4

Updated by Gerrit Code Review about 9 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43744

Actions #5

Updated by Stefan Froemken about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Philipp Wrann almost 9 years ago

It seems this is not resolved, i have a flexform displaying 3 sheets and displayConditions do only work on the first sheet.

If i move all displayConditions to another sheet than the first they will not work.

Typo3 Version = 7.6 (LTS)

Actions #7

Updated by Christian Fries almost 8 years ago

Agreed, display conditions for fields that are not on the first sheet don't work. If I move the fields to the first sheet, the exact same display conditions work.

Actions #8

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF