Bug #60405
PageTree cannot select/expand hidden nodes
Status: | Under Review | Start date: | 2014-07-20 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Oliver Hader | % Done: | 0% |
|
Category: | Pagetree | Spent time: | - | |
Target version: | - | |||
TYPO3 Version: | 6.2 | Is Regression: | No | |
PHP Version: | 5.3 | Sprint Focus: | ||
Complexity: |
Description
TYPO3.Backend.NavigationContainer.PageTree.select(64) does not select the correct page, but tries to determine the correct node levels, fakes the local node states and reloads the page tree. One thing that might not be considered there is the fact that pages are represented in hex-values with a leading "p", thus the integer "64" with be converted to "p40" as node id.
To overcome this scenario and enable custom handling there, a new generic method is introduced:
TYPO3.Backend.NavigationContainer.PageTree.invokePageId(pageId, callback, allResults);
The methods "selectPageId" and "expandPageId" show how this is actually used.
Related issues
History
#1 Updated by Gerrit Code Review 12 months ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32155
#2 Updated by Gerrit Code Review 12 months ago
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/32155
#3 Updated by Gerrit Code Review 5 months ago
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/32155
#4 Updated by Gerrit Code Review 18 days ago
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/32155