Project

General

Profile

Actions

Bug #17460

closed

pi_getPidList selects pages that it shouldn't

Added by Jan Bednarik over 17 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-07-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Let's have such page tree:
- 1
--- 2 (hidden)
------> 3
------> 4
--- 5
--- 6

Now, calling pi_getPidList(1,100) will result in 1,3,4,5,6. Although 3 and 4 shouldn't be visible.

I guess that $this->enableFields('pages') should be called in SQL queries in tslib_content::getTreeList.
(issue imported from #M6005)


Files

class.tslib_pibase.txt (238 Bytes) class.tslib_pibase.txt Administrator Admin, 2007-07-20 20:09
Actions #1

Updated by Dmitry Dulepov over 14 years ago

3 and 4 are not hidden, so they should be visible.

Actions #2

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF