Project

General

Profile

Actions

Bug #32292

closed

Page within a mountpoint using "Show Content from Page" results in 503 header

Added by Patrick Broens almost 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Category:
Content Rendering
Target version:
-
Start date:
2011-12-05
Due date:
% Done:

100%

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

Description

Problem:
A page (A) within a mountpoint using "Show Content from Page" (B) (pages: content_from_pid) results in a 503 header with the message "The requested page didn't have a proper connection to the tree-root!".

When content_from_pid is used, the TSFE for the current object (page A) will be cloned to a temporary object in tslib:TSpagegen (page B). In this temporary object, the page id is set to "page A"->content_from_pid. However, the MP is not changed, and will have the MP of page A.

This results in a TSFE page object (Page B) with the wrong MP (From Page A).

Within this temporary object the rootline will be calculated, which will be empty, because of the wrong MP variable. This triggers the 503 header with the mentioned message.

Solution:
Clear the MP variable in the temporary TSFE object for page B.

Releases:
4.7, 4.6, 4.5


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #29584: Shortcut to mountpoint results in illegal root treeRejected2011-09-09

Actions
Actions

Also available in: Atom PDF