Bug #14249
closedSpecifying a shortcut page AND setting a shortcut mode leads to an error
0%
Description
@see Summary
Error!
The requested page didn't have a proper connection to the tree-root!
()
(issue imported from #M243)
Updated by Wolfgang Klinger over 20 years ago
I suggest ignoring the shortcut mode when a page is explicitly set...
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
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
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