[BUGFIX] Use FE category collection for pages 88/32688/2
authorFrancois Suter <francois@typo3.org>
Fri, 8 Aug 2014 13:10:43 +0000 (15:10 +0200)
committerFrancois Suter <francois@typo3.org>
Tue, 9 Sep 2014 15:09:36 +0000 (17:09 +0200)
commitfa224be10e6ed5d18e1c6aa1dbd9e0dc5761896d
treefaa698f5f59acdc06814e489981bcd5df0615df0
parent05464e76cccbb0b24661e27fbeb604c77a1b66e6
[BUGFIX] Use FE category collection for pages

Class CategoryMenuUtility which is used when rendering a list
of categorized pages calls on
\TYPO3\CMS\Core\Category\Collection\CategoryCollection
to collect the pages. This is wrong in a FE context as all
pages will be collected (hidden, deleted, workspace copies, etc.).
It must use
\TYPO3\CMS\Frontend\Category\Collection\CategoryCollection
instead.

Resolves: #59440
Releases: 6.2, 6.3
Change-Id: Ia8df04f5f615f3b6f09d2f67fbfadf69baca8f21
Reviewed-on: http://review.typo3.org/32064
Reviewed-by: Tomita Militaru <militarutomita@gmail.com>
Reviewed-by: Tomas Norre Mikkelsen <tomasnorre@gmail.com>
Reviewed-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Tested-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Reviewed-by: Francois Suter <francois@typo3.org>
Tested-by: Francois Suter <francois@typo3.org>
Reviewed-on: http://review.typo3.org/32688
typo3/sysext/frontend/Classes/ContentObject/Menu/CategoryMenuUtility.php