[TYPO3-core] RFC: #13554: Preview of mount pages via backend

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Mar 4 15:20:22 CET 2010


Hi,

commited to:

- trunk rev. 7075
- TYPO3_4-3 rev. 7076 (will be in 4.3.3)
- TYPO3_4-2 rev. 7077 (will be in 4.2.13)

Cheers,
Ernesto

Ernesto Baschny [cron IT] schrieb am 04.03.2010 09:00:

> Georg Ringer schrieb am 16.02.2010 14:16:
> 
>> Type: Feature (or bugfix?)
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=13554
>>
>> Branches: Trunk (or 4.3, 4.2)
> 
> I agree that this is a bug and should also be applied to 4.3 and 4.2.
> 
>> Problem:
>> Curently it is not possible to get previews of mount pages because the
>> preview link is missing the mountpoint information. Therefore the error
>> "The requested page didn't have a proper connection to the tree-root!
>> (Illegal Mount Point found in rootline)" is displayed
>>
>> Solution:
>> If the wanted page is a mount page, fetch the needed information from
>> the page record and apply the &MP variable
>>
>> Additional information / To reproduce:
>> - Create a new mount page, check the option "Substitute Mount Point
>> (this page) with Mounted page:" and set a page to be mounted
>> - View the page in the module "View"
>> - See the error
>> - Apply the patch
>> - See the error go away
> 
> Your patch calculates the MP variable by hand. This won't handle more
> complex scenarios as nested mount points, versioning overlay, etc. Since
> we have a nice function already for calculating it (which is also used
> in the FE), I made a patch that makes use of it.
> 
> Please test again, and give your opinions.
> 
> Related to that is a fix also for the "Show" click menu in the page tree
> (as Susanne noted), which I will post as a new RFC right after this message.



More information about the TYPO3-team-core mailing list