[BUGFIX] Use FE category collection for pages 64/32064/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:06:38 +0000 (17:06 +0200)
commit0a476dc0d89b74022e672b5494318ad15579b6e6
tree634a6e55521ab42178a9141215de0707d25c7117
parent47fe9444621079a250f2be6a7f80f00ac896f168
[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>
typo3/sysext/frontend/Classes/ContentObject/Menu/CategoryMenuUtility.php