Issue Bug Closed

#25938TCEforms Suggest doesn't find static tables as user

Thomas Maroschik 04/13/11, 11:58 updated 10/02/18, 12:20

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.