Bug #64215
closed
Suggest wizard should respect options.pageTree.altElementBrowserMountPoints
Added by Alexander Stehlik almost 10 years ago.
Updated over 5 years ago.
Category:
FormEngine aka TCEforms
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.
- 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?
- 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
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.
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
.
- Status changed from Closed to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF