Project

General

Profile

Actions

Bug #34698

closed

t3lib/class.t3lib_befunc.php -> getViewDomain

Added by Thomas Layh about 12 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-03-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The changed function getViewDomain should always take the firstDomain from the tree first instead of using the currently called backend domain.

I try to explain the problem with the following example tree.

- root1 (www.mydomain.com)
-- home
-- more pages
- root2 (www1.mydomain.com)

I login using the domain www1.mydomain.com. If I click on preview on the home page, I want to see the page www.mydomain.com/home.html. Currently, if a valid www1 domain is set, it is used instead of the domain in the root line. The behavior before (#30892) was that for the preview domain the rootline domain was used, now the www1 domain has a higher priority which is imho wrong.

Going to push the patch to gerrit.


Files

class.t3lib_befunc.php.patch (911 Bytes) class.t3lib_befunc.php.patch Thomas Layh, 2012-03-09 18:20
Actions

Also available in: Atom PDF