Single import form should not accept YAML data with scalar value

Created on 3 April 2016, over 8 years ago
Updated 4 April 2024, 5 months ago

Problem/Motivation

If you would try to submit simple configuration data with scalar value into single import form it crashes with exception Argument 2 passed to Drupal\config\StorageReplaceDataWrapper::replaceData() must be of the type array, string given.

Proposed resolution

Check data type in ConfigSingleImportForm::validateForm() and display error message if submitted data is not array.

πŸ› Bug report
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
ConfigΒ  β†’

Last updated 2 days ago

Created by

πŸ‡·πŸ‡ΊRussia Chi

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