Issue Bug Closed

#80660TCA show userfunc columns

Harald Holzmann 04/03/17, 17:08 updated 07/05/20, 12:29

Description

I have a TCA-Configured column as a user-func. Here is my configuration:

'image_view' => array(
    'exclude' => 1,
    'label' => 'Bild',
    'config' => array(
        'type' => 'user',
        'userFunc' => Varioous\VaSocial\Tca\HelperUtility::class . '->getImage'
    )
)

Now I go to the Backend-List-View. I enable this column to view it in the list view (where uid, hidden etc. is). After applying there comes the message “No data on this page”. Because the image_view column makes problems.

I have to comment this column in the tca-configuration -> clear caches and then everything works again.

Should not lead to this error, better error message or gray user_func fields out so you cannot hick them.

Reviews 0

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