Not compatible with custom backend layout data providers
GridElementsTeam\Gridelements\DataHandler\PreProcessFieldArray::setUnusedElements() method expects
backend_layout values to be a UID pointing to a backend layout record.
However, with TYPO3 CMS 6.2 custom backend layout data providers can be registered which yields
backend_layout values like
pagets__Main. These should be ignored/incorporated accordingly, otherwise an SQL error occurs when the string value is converted via
intval() and used as UID value.
#1 Updated by Jo Hasenau over 5 years ago
- Status changed from New to Needs Feedback
Are you sure that you have got the latest Gridelements version?
The method has been moved to \GridElementsTeam\Gridelements\DataHandler\AfterDatabaseOperations::setUnusedElements lately and $backendLayoutUid is not cast to an integer.
Anyway there still seems to be a typecast for $backendLayoutNextLevelUid, so I guess the issue is still valid.