Project

General

Profile

Actions

Bug #87614

closed

Hidden fields are not rendered for IRRE elements

Added by Helmut Hummel about 5 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-02-01
Due date:
% Done:

100%

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

Description

When a record, that is rendered as inline relation, has some fields configured as hidden fields (renderType: hidden),
these fields will not be rendered.

This can e.g. be verified with an element which has tt_content as IRRE and colPos is configured as hidden field.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #96781: Hidden fields are not rendered for existing IRRE elementsClosed2022-02-08

Actions
Actions #1

Updated by Gerrit Code Review about 5 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 https://review.typo3.org/59605

Actions #2

Updated by Helmut Hummel about 5 years ago

Most simple way to reproduce with a plain core:

Set:

    $GLOBALS['TCA']['sys_file_reference']['columns']['description']['config']['default'] = 'foo - hidden';
    $GLOBALS['TCA']['sys_file_reference']['columns']['description']['config']['renderType'] = 'hidden';

The create an image content element and add an image and save.

Expectation would be that description of the created sys_file_reference element has the value "foo - hidden"

Actual result is, that description is empty

Actions #3

Updated by Gerrit Code Review about 5 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59898

Actions #4

Updated by Gerrit Code Review about 5 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59899

Actions #5

Updated by Helmut Hummel about 5 years ago

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

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions #7

Updated by Maik no-lastname-given about 2 years ago

The patch works only for elements loaded the first time. If the record header is already there and the child content becomes fetched, the hidden field html is not included in the html output. Will create a pull request.

Actions #8

Updated by Helmut Hummel about 2 years ago

Hm, strange. Could have sweared that it also worked for ajax loaded elements. Can you post the change url of your proposed change here as well? Thanks!

Actions #9

Updated by Georg Ringer about 2 years ago

  • Related to Bug #96781: Hidden fields are not rendered for existing IRRE elements added
Actions

Also available in: Atom PDF