Project

General

Profile

Actions

Bug #21244

closed

Sitemap does not show shortcuts with shortcut_mode != 0

Added by Klaus Netcreators) over 14 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Won't have this time
Assignee:
-
Category:
-
Target version:
Start date:
2009-10-11
Due date:
% Done:

0%

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

Description

T3 Sitemap will not show Shortcuts with shortcut_mode != 0 (or Shortcut Mode in Flexform not "", but either "First subpage" or "Random subpage".)

To reproduce:
- create a page (shortcut)
- create some subpages
- make the shortcut link to one of the subpages
- create a sitemap on some other page
-> the shortcut will show up in the sitemap.

- now set the shortcut mode in the shortcut page to "first subpage".
-> the whole newly created subtree will be missing in the sitemap.

This was observed in T3 4.2.6

(issue imported from #M12197)

Actions #1

Updated by Steffen Kamper over 14 years ago

works in 4.3 (and trunk)

Actions #2

Updated by Xavier Perseguers about 12 years ago

  • Assignee deleted (Steffen Kamper)
  • Target version deleted (0)
  • TYPO3 Version set to 4.3
Actions #3

Updated by Riccardo De Contardi almost 11 years ago

In TYPO3 4.5 the value "empty" for shortcut mode is no more (it is called "Selected page").

Said that, I found that the problem is present in 4.5.20 and 6.1.0 under these condition:

1. Shortcut mode selected: "First subpage of current page"
AND
2. Shortcut target: not null: if the field is empty, everything works

Not tested with the other options, like "random page", but I guess that the problem is that you should select a shortcut target only if you want to use "First subpage of current page" as shortcut mode!!

Actions #4

Updated by Mathias Schreiber over 9 years ago

  • Target version set to 7.2 (Frontend)
  • Is Regression set to No

Persists to master (CMS7), but I think this has something to do with wrong handling of the subpages of current page thingy

Actions #5

Updated by Frederic Gaus over 9 years ago

  • Status changed from Accepted to Closed
  • Priority changed from Should have to Won't have this time

This is not really a bug, but a feature. :-)

The actual naming of the Shortcut Mode is "First subpage of selected/current page". If you only switch the shortcut mode and leave the field "Shortcut target" as it is, you change the shortcut and menu generation to "Link to first subpage of 'shortcut target'". Which I guess was was not existent in your case and thus the menu of this shortcut is not generated because the "first page of the shortcut target" was not accessible.

If you clear the field "shortcut target" everything works as expected.

I will now close is issue. If you do not agree with my explanation and you think there is still an issue, feel free to reopen this ticket or create a new one. Thanks!

Actions

Also available in: Atom PDF