Actions
Bug #25938
closedTCEforms Suggest doesn't find static tables as user
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