Project

General

Profile

Actions

Bug #39048

closed

TCEforms inline renders broken fields

Added by Alexander Jahn over 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2012-07-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

When loading tt_content as an inline record WITHOUT using AJAX, some additional broken fields are rendered.

Specifically these are

<input type="checkbox" name="data[tt_content][10605][hidden]_0" value="1"/>
<input type="input" name="data[tt_content][10605][hidden]" value="0"/>

These Fields are already rendered where they should be.

These fields are only used for tracking a record's hidden status if the record is rendered by an AJAX call and is not expanded.
If the record is loaded directly, it might not be expanded but is still completely rendered in the background making these fields unnecessary.

My patch includes an additional check whether the record is rendered by an AJAX call, thus fixing the problem.


Files

broken_field.JPG (61.4 KB) broken_field.JPG Screenshot Alexander Jahn, 2012-07-18 09:36
class.t3lib_tceforms_inline.php.patch (1.22 KB) class.t3lib_tceforms_inline.php.patch Patch for 4.7.2 Alexander Jahn, 2012-07-18 09:36
Actions

Also available in: Atom PDF