PHP notice when "List" is used as formatter option for field

Created on 12 August 2016, over 8 years ago
Updated 27 January 2024, 10 months ago

Testing latest dev on D8.1.8 generated PHP notices in logs:

------------

Location
https://drxp9.ply.st/admin/structure/types/manage/article/display 

Referrer
https://drxp9.ply.st/admin/structure/types/manage/article/display 

Message
Notice: Undefined variable: field in Drupal\list_formatter\Plugin\list_formatter\LinkList->additionalSettings() (line 44 of /home/drxp9/www/modules/list_formatter/src/Plugin/list_formatter/LinkList.php). 

-----------

Location
https://drxp9.ply.st/admin/structure/types/manage/article/display?_wrapper_format=drupal_ajax&_wrapper_format=drupal_ajax&ajax_form=1 

Referrer
https://drxp9.ply.st/admin/structure/types/manage/article/display 

Message
Notice: Undefined variable: field in Drupal\list_formatter\Plugin\list_formatter\LinkList->additionalSettings() (line 44 of /home/drxp9/www/modules/list_formatter/src/Plugin/list_formatter/LinkList.php). 

-----------

Tested with core text list field. Module generate "List" formatter option for this kind of field, but it does not generate any list.

Regarding Term reference fields... module does not generate "List" formatter option for this kind of field.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡­πŸ‡·Croatia devad

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