Bug #82661
closedHidden domains are used for URL generation if admPanel showHiddenRecords is activated
100%
Description
Setup¶
2 page trees with domains: a.example.com, b.example.com (both disabled/hidden)
Admin Panel is activated and admPanel.override.preview.showHiddenRecords
is set.
Link across domains is activated in TS. config.typolinkEnableLinksAcrossDomains = 1
On page 123 in tree A a link to a page 456 on tree B is created.
Testcase¶
Visit page 123 via another domain (eg localhost) and check the URL generated for the link to page 456.
Expected behaviour¶
The URL should be with the domain used to access 123 (since no domain record is enabled)
Actual behaviour¶
The URL is generated with domain b.example.com
Analysis¶
The bug has been introduced with #77400. The migration of the former enableFields to doctrine's restrictions has not been done correctly.
Updated by Markus Klein about 7 years ago
- Related to Task #77400: Doctrine: Migrate further parts of TypoScriptFrontendController added
Updated by Gerrit Code Review about 7 years ago
- Status changed from Accepted 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/54274
Updated by Gerrit Code Review about 7 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/54274
Updated by Gerrit Code Review about 7 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/54274
Updated by Gerrit Code Review about 7 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/54296
Updated by Markus Klein about 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 641792436bec264ee3897116bedeb3b2ad838800.