Bug #77547

File Links content element showing hidden file collection

Added by Marc von Schalscha about 3 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2016-08-19
Due date:
% Done:

100%

TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

A file collection added to a file link content element is always shown on the frontend, even if the collection is marked as hidden. So you have to remove the collection from the file link content element to make it disappear on the frontend.

Associated revisions

Revision ebb77227 (diff)
Added by Felix Rauch almost 3 years ago

[!!!][BUGFIX] Fix behaviour of RecordCollectionRepository in FE mode

RecordCollectionRepository::findByUid does not respect the enable
columns configured in TCA when TYPO3 is in FE mode. This commit fixes
that behaviour by introducing a check for the TYPO3 environment mode,
and acting accordingly.

This change is potentially breaking, as any consumer of the
RecordCollectionRepository API who expects the faulty behaviour will
have to override the used table's TCA to return to the previous
behaviour.

Resolves: #77547
Releases: master
Change-Id: I17642caba5e7015cad7802f59e8441cbe279bb1d
Reviewed-on: https://review.typo3.org/49776
Reviewed-by: Morton Jonuschat <>
Tested-by: Morton Jonuschat <>
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>

History

#1 Updated by Marc von Schalscha about 3 years ago

Same behavior with other collection types like Category.

#2 Updated by Gerrit Code Review almost 3 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/49776

#3 Updated by Gerrit Code Review almost 3 years ago

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

#4 Updated by Gerrit Code Review almost 3 years ago

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

#5 Updated by Gerrit Code Review almost 3 years ago

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

#6 Updated by Gerrit Code Review almost 3 years ago

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

#7 Updated by Felix Rauch almost 3 years ago

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

#8 Updated by Benni Mack 11 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF