[TYPO3-core] RFC #10798: Flag sectionIndex is not used for "menu of subpages + sections"

Xavier Perseguers typo3 at perseguers.ch
Fri Mar 27 14:53:43 CET 2009


This is SVN patch request.

Type: Bug

Branches: trunk, 4.2, (4.1)

BT reference: http://bugs.typo3.org/view.php?id=10798

Problem:

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


-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 10798.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090327/b1f61d1c/attachment.txt 


More information about the TYPO3-team-core mailing list