Issue Bug Closed

#107977Page module not working for "normal" editor - admin only

Ayke Halder 11/04/25, 13:43 updated 12/02/25, 12:04

Description

The page module might not work for “normal” editors.

(1/1) Error

Cannot use object of type TYPO3\CMS\Core\Domain\Record as array
in /var/www/html/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumnItem.php line 263
            && (
                $this->getBackendUser()->isAdmin()
                || (
                    (
                        !($this->record[$this->schema->getCapability(TcaSchemaCapability::EditLock)->getFieldName()] ?? false)
                        && (
                            !($pagesSchema = GeneralUtility::makeInstance(TcaSchemaFactory::class)->get('pages'))->hasCapability(TcaSchemaCapability::EditLock)
                            || !($pageRecord[$pagesSchema->getCapability(TcaSchemaCapability::EditLock)->getFieldName()] ?? false)
                        )

Reviews 1