Project

General

Profile

Actions

Bug #64215

closed

Suggest wizard should respect options.pageTree.altElementBrowserMountPoints

Added by Alexander Stehlik almost 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2015-01-09
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

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.

Actions #1

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?

Actions #2

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

Actions #3

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.

Actions #4

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.

Actions #5

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

Actions #6

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

Actions #7

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

Actions #8

Updated by Alexander Stehlik about 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF