Project

General

Profile

Actions

Bug #14249

closed

Specifying a shortcut page AND setting a shortcut mode leads to an error

Added by Wolfgang Klinger over 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2004-07-23
Due date:
% Done:

0%

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

Description

@see Summary

Error!

The requested page didn't have a proper connection to the tree-root!

()
(issue imported from #M243)

Actions #1

Updated by Wolfgang Klinger over 20 years ago

I suggest ignoring the shortcut mode when a page is explicitly set...

Actions #2

Updated by Wolfgang Klinger over 20 years ago

update

page 1
-----> subpage 1
-----> subpage 2
------> sub to subpage 2
-----> subpage 3

settings for page1

is ok:
_____
shortcut
shortcut page: subpage1
shortcut mode: first subpage

is ok too:
______
shortcut
shortcut page: subpage2
shortcut mode: first subpage

the following gives the error stated above:
_______
shortcut
shortcut page: sub to subpage 2
shortcut mode: first subpage

so it depends somehow on the level...

btw: it's the same with "random subpage" selected

Actions #3

Updated by Christian Jul Jensen about 20 years ago

Reproduced.

The bug is not too critical, since setting both options is a logical error of misunderstanding of the concepts

Actions #4

Updated by Christian Jul Jensen about 20 years ago

Actullay I was a bit too quick there, this is not a bug.

It works this way: If both page and mode is set, it will take, in example, a random subpage of the page specified, if it doesn't exist, it will obviously fail.

I can't reproduce your first example it should fail, if this is not the case, please let me know. The other two behaves correctly.

Admitted that it is not obvious that this is the behaviour, but it makes sense.

-julle

Actions

Also available in: Atom PDF