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

Also available in: Atom PDF