Project

General

Profile

Actions

Bug #25938

closed

TCEforms Suggest doesn't find static tables as user

Added by Thomas Maroschik over 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2011-04-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Problem

As a Backend User, when using a suggest form next to a select or group field containing entries from a static table I won't get any results from this table.
The Pid 0 is not accessible from a User Perspective, and thus checks against t3lib_BEfunc::readPageAccess are unneccessary.

Normally you won't use a suggest field in a static tables relation, but in my case I have got a static table with about 80,000 entries. This is not usable.

Solution

Add a additional condition in t3lib_TCEforms_Suggest_DefaultReceiver::checkRecordAccess to check if the record is declared static by TCA.XXX.ctrl.is_static. If true, then grant access.

Will post a patch soon.

Actions #1

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change Id4a43f07c7d324b1c9c63a610db741b552df6f18 has been pushed to the review server.
It is available at http://review.typo3.org/1592

Actions #2

Updated by Mr. Hudson over 13 years ago

Patch set 2 of change Id4a43f07c7d324b1c9c63a610db741b552df6f18 has been pushed to the review server.
It is available at http://review.typo3.org/1592

Actions #3

Updated by Mr. Hudson over 13 years ago

Patch set 3 of change Id4a43f07c7d324b1c9c63a610db741b552df6f18 has been pushed to the review server.
It is available at http://review.typo3.org/1592

Actions #4

Updated by Thomas Maroschik over 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF