Project

General

Profile

Actions

Bug #82661

closed

Hidden domains are used for URL generation if admPanel showHiddenRecords is activated

Added by Markus Klein over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Frontend
Target version:
Start date:
2017-10-03
Due date:
% Done:

100%

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

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #77400: Doctrine: Migrate further parts of TypoScriptFrontendControllerClosedSebastian Bumann2016-08-04

Actions
Actions #1

Updated by Markus Klein over 6 years ago

  • Related to Task #77400: Doctrine: Migrate further parts of TypoScriptFrontendController added
Actions #2

Updated by Gerrit Code Review over 6 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

Actions #3

Updated by Gerrit Code Review over 6 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

Actions #4

Updated by Gerrit Code Review over 6 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

Actions #5

Updated by Gerrit Code Review over 6 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

Actions #6

Updated by Markus Klein over 6 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF