Viewfield arguments array_filter can remove valid arguments

Created on 3 March 2025, about 1 month ago

Problem/Motivation

The original intent with array_filter on the processArguments() function was to remove empty values but in some cases, the arguments such as 0, FALSE, etc... can be valid.

Proposed resolution

Revise the processArguments() to only remove empty strings in both the ViewfieldDefaultFormatter and grapql compose plugin (CustomFieldViewfield).

πŸ› Bug report
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States apmsooner

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024