Entering a non-numeric value for a start row value in 'Multiple field settings' for a views field leads to a fatal error

Created on 8 March 2023, over 1 year ago
Updated 7 June 2023, about 1 year ago

Problem/Motivation

Originally reported in 🐛 Views pagers do math on disparate data types, resulting in type errors in PHP 8 Fixed but out of scope there:

I believe there are other variables that can be set to "All" at least when using a list field type, around line 752 of ./views/src/Plugin/views/field/EntityField.php
$delta_limit = $this->options['delta_limit']; can return "All" and then create white screens. This can probably be fixed around line 412 of the same file

Steps to reproduce

* Install Umami
* Create a View showing content in fields
* Add the 'Tag' field
* In 'Multiple field settings' set "Display N value(s)" to 'All'
* Apply the field settings
* Watch the spinner spin forever

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

9.5

Component
Views 

Last updated 1 minute ago

Created by

🇳🇱Netherlands Lendude Amsterdam

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.69.0 2024