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.
Description
@see Summary
Error!
The requested page didn't have a proper connection to the tree-root!
()
(issue imported from #M243)
I suggest ignoring the shortcut mode when a page is explicitly set...
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
Reproduced.
The bug is not too critical, since setting both options is a logical error of misunderstanding of the concepts
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
Also available in: Atom
PDF