template_preprocess_views_view_footable improvements

Created on 30 March 2017, over 7 years ago
Updated 16 March 2023, over 1 year ago

In the template_preprocess_views_view_footable we can see the line:

$info = FieldStorageConfig::loadByName($field_handler->getEntityType(), $field);
The problem is that $field can be something like "field_somename_1" - machine name used in the view. But to get field storage config we have to use real field machine name. Also "last_render" property can be NULL in some cases and cause errors near the line $field_handler->last_render->__toString()

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine gilmord πŸ‡ΊπŸ‡¦Ukraine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024