Project

General

Profile

Actions

Bug #20249

closed

Flag sectionIndex is not used for "menu of subpages + sections"

Added by Xavier Perseguers about 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-03-27
Due date:
% Done:

0%

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

Description

According to the documentation, when creating a menu/sitemap of type 7 (menu of subpages + sections), this should include 'submenu' links to all content elements on the page which have the "Index" checkbox set.

However the submenu includes all content elements regardless of the "Index" checkbox.

Bug: when generating the where clause of the SQL, the where clause on the sectionIndex is removed.

How to reproduce:

Having following page tree:

page1 |-- page1.1 | |-- content1 with "Index" set | `-- content2 with "Index" not set
`-- page1.2
`-- content3 with "Index" not set

Add a plugin menu/sitemap of type "menu of subpages + sections" on page1.

Expected output:

- link to page 1.1
- link to content1

Actual output:

- link to page 1.1
- link to content1
- link to content2
- link to page 1.2
- link to content3
(issue imported from #M10798)


Files

tslib_menu.diff (232 Bytes) tslib_menu.diff Administrator Admin, 2009-03-27 14:49
Actions #1

Updated by Xavier Perseguers about 15 years ago

Forgot to include page 1.2 in expected output.

Expected output is of course:

- link to page 1.1
- link to content1
- link to page 1.2

Actions #2

Updated by Francois Suter about 15 years ago

Committed to trunk (rev 5239) and 4.2 (rev 5238).

Actions

Also available in: Atom PDF