Bug #87614

Hidden fields are not rendered for IRRE elements

Added by Helmut Hummel 3 months ago. Updated about 2 months ago.

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

100%

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.

Associated revisions

Revision 3f417d4e (diff)
Added by Helmut Hummel about 2 months ago

[BUGFIX] Properly render hidden fields for IRRE records

Despite $resultArray['additionalHiddenFields'] being properly
set by the elements, this section is never evaluated
in InlineRecordContainer.

Evaluate content in this property and render the fields
in the HTML output.

Resolves: #87614
Releases: master, 9.5, 8.7
Change-Id: Idb45a906d3cb019e915c94df59fa215405cb1af3
Reviewed-on: https://review.typo3.org/c/59605
Reviewed-by: Andreas Wolf <>
Reviewed-by: Benni Mack <>
Reviewed-by: Andreas Fernandez <>
Reviewed-by: Susanne Moog <>
Reviewed-by: Oliver Klee <>
Reviewed-by: Daniel Goerz <>
Tested-by: TYPO3com <>
Tested-by: Susanne Moog <>
Tested-by: Daniel Goerz <>
Tested-by: Benni Mack <>

Revision 3dd5b812 (diff)
Added by Helmut Hummel about 2 months ago

[BUGFIX] Properly render hidden fields for IRRE records

Despite $resultArray['additionalHiddenFields'] being properly
set by the elements, this section is never evaluated
in InlineRecordContainer.

Evaluate content in this property and render the fields
in the HTML output.

Resolves: #87614
Releases: master, 9.5, 8.7
Change-Id: Idb45a906d3cb019e915c94df59fa215405cb1af3
Reviewed-on: https://review.typo3.org/c/59899
Tested-by: TYPO3com <>
Tested-by: Benni Mack <>
Reviewed-by: Benni Mack <>

Revision 652dff2e (diff)
Added by Helmut Hummel about 2 months ago

[BUGFIX] Properly render hidden fields for IRRE records

Despite $resultArray['additionalHiddenFields'] being properly
set by the elements, this section is never evaluated
in InlineRecordContainer.

Evaluate content in this property and render the fields
in the HTML output.

Resolves: #87614
Releases: master, 9.5, 8.7
Change-Id: Idb45a906d3cb019e915c94df59fa215405cb1af3
Reviewed-on: https://review.typo3.org/c/59898
Tested-by: TYPO3com <>
Tested-by: Benni Mack <>
Reviewed-by: Benni Mack <>

History

#1 Updated by Gerrit Code Review 3 months 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

#2 Updated by Helmut Hummel about 2 months 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

#3 Updated by Gerrit Code Review about 2 months 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

#4 Updated by Gerrit Code Review about 2 months 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

#5 Updated by Helmut Hummel about 2 months ago

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

Also available in: Atom PDF