Bug #63047
closed
TreeView with non pages isInWebMount wrong parameter because of Bugfix #18797
Added by Andreas Allacher about 10 years ago.
Updated about 7 years ago.
Sprint Focus:
Stabilization Sprint
Description
Hi,
because of the bug fix für #18797 which results in this commit:
https://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff/c59d89f809898784aaedd507db61a4d380bc27a8
This part is only correct IF the records are pages, will result in problems if the records are not pages.
757 if (!$GLOBALS['BE_USER']->isInWebMount($row['uid'])) {
758 // Current record is not within web mount => skip it
759 continue;
760 }
Which means we have to modify it to something like this:
class ... {
....
public $fieldArray = array('uid', 'pid', 'title');
....
}
getTree Method:
$pageUid = ($this->table === 'pages') ?> $row['uid'] : $row['pid'];
757 if (!$GLOBALS['BE_USER']->isInWebMount(pageUid)) {
758 // Current record is not within web mount => skip it
759 continue;
760 }
Files
This bug is also with TYPO3 6.1.
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37034
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37034
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37034
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37034
- Target version set to 7.2 (Frontend)
- Sprint Focus set to Stabilization Sprint
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37034
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38848
- Status changed from Under Review to Resolved
- % Done changed from 10 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF