Bug #64215
closedSuggest wizard should respect options.pageTree.altElementBrowserMountPoints
100%
Description
With the TypoScript option
options.pageTree.altElementBrowserMountPoints
you can configure alternative mount points that are used in the element browser.
This is currently not consistently handled by the suggest wizard. The wizard will have access to different pages than the element browser.
IMO this should be unified.
Updated by Alexander Opitz almost 7 years ago
- Status changed from New to Needs Feedback
IMHO this parts were unified in newer versions, so this should be handled now consistent. Or do I miss something?
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Needs Feedback to Closed
No feedback since the last 90 days => closing this issue.
If you think that this is the wrong decision or experience the issue again and have more information about how to reproduce your problem, please reopen it or open a new issue with a reference to this one.
Thank you and best regards
Updated by Alexander Stehlik over 6 years ago
I just did some tests with the current master.
The issue still seems to be valid. When a suggest Wizard is used together with an element browser it ignores this setting:
options.pageTree.altElementBrowserMountPoints
The suggest wizard only finds pages within the normal database mounts of the user.
Please reopen the issue.
Updated by Alexander Stehlik over 6 years ago
A possible alternative solution would be to use the suggest Wizard TSconfig (example for User TSconfig):
options.pageTree.altElementBrowserMountPoints = 1 page.TCEFORM.pages.content_from_pid.suggest.default { pidList = 1 pidDepth = 99 }
But there is still one problem:
The suggest wizard limits the results by checking the permissions in checkRecordAccess()
. Is uses BackendUtility::readPageAccess($uid, $GLOBALS['BE_USER']->getPagePermsClause(Permission::PAGE_SHOW)
when used for pages.
Therefore code needs to be added that sets alternate webmounts when the pidList setting is used like in the DatabaseBrowser
.
Updated by Gerrit Code Review over 6 years ago
- Status changed from Closed 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 https://review.typo3.org/57193
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57193
Updated by Gerrit Code Review about 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57193
Updated by Alexander Stehlik about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 40a79c0ad19f870e31ded6b81efe7742bea473af.