Bug #93027
closedWorkspace preview of hidden extbase records not possible
100%
Description
Previewing hidden Extbase records works.
Previewing versioned Extbase records works.
Previewing hidden AND versioned Extbase records does not work for us.
The reason is in \TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend
the record is overlaid with $pageRepository->versionOL()
.Typo3DbBackend
does not set the optional $bypassEnableFieldsCheck
parameter of versionOL()
(default is false
).
Instead it should respect whatever is set in $querySettings->getIgnoreEnableFields()
How to reproduce:
- Have a TYPO3 installation with EXT:news which has a basic setup (like detail page with a plugin)
- Set
previewHiddenRecords
to true (either via TypoScriptplugin.tx_news.settings.previewHiddenRecords = 1
or via Plugin Flexform) - Have a hidden news record.
- "View" it from its backend form. => Preview will work because we enabled
previewHiddenRecords
- Switch to a workspace
- "View" it from its backend form.
Expected result: News preview should open
Actual result: "The news record is not available anymore"
Updated by Gerrit Code Review almost 4 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/c/Packages/TYPO3.CMS/+/67072
Updated by Gerrit Code Review almost 4 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67073
Updated by Gerrit Code Review about 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/c/Packages/TYPO3.CMS/+/67072
Updated by Gerrit Code Review almost 3 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67072
Updated by Gerrit Code Review almost 3 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67072
Updated by Gerrit Code Review almost 3 years ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67072
Updated by Gerrit Code Review almost 3 years ago
Patch set 1 for branch 11.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/+/72780
Updated by Anonymous almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a1f59825dfa971aef0a3359d205c37aad76b1bff.