Arrays in SDDS SDC YAMLs are causing fatal errors in XB

Created on 24 August 2024, 24 days ago
Updated 29 August 2024, 19 days ago

Problem/Motivation

While trying to get SDDS components to show up in XB, I found that having any [?] array types cause errors like:

"Argument #1 ($schema) must be of type array, string given"

Also in drush:

ddev drush cr

In ComponentValidator.php line 121:
                                                                                                                             
  [props.properties.link.properties] Array value found, but an object is required/n[props.properties.image.properties] Arra  
  y value found, but an object is required                                                                                   
                                                                                                                             
Failed to run drush cr: exit status 1

Steps to reproduce

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Postponed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

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

Comments & Activities

Production build 0.71.5 2024