Fix Malformed inline YAML string in used yml files

Created on 30 April 2024, about 2 months ago
Updated 2 June 2024, 25 days ago

Problem/Motivation

This will affect any install or import of Configs.

Are you facing "Malformed inline YAML string" issues?

symfony/yaml v6.4.7 was released yesterday
https://github.com/symfony/yaml/releases/tag/v6.4.7
Serialization\YamlSymfony::decode()

In Drupal Core

https://git.drupalcode.org/project/drupal/-/blob/10.2.x/core/lib/Drupal/...
The php8.3-yaml extension will do it .. But YamlSymfony or - pecl install yaml in Lando and PSH will NOT do it

      // Make sure we have a single trailing newline. A very simple config like
      // 'foo: bar' with no newline will fail to parse otherwise.

----
Any Yaml file with a value in 2 lines will face issues!!!

Proposed resolution

  • Fix the values in the "Build Your Site Using Varbase!" default content block

Remaining tasks

  • βœ… File an issue about this project
  • βœ… Addition/Change/Update/Fix to this project
  • βœ… Testing to ensure no regression
  • βž– Automated unit/functional testing coverage
  • βž– Developer Documentation support on feature change/addition
  • βž– User Guide Documentation support on feature change/addition
  • βž– UX/UI designer responsibilities
  • βž– Accessibility and Readability
  • βœ… Code review from 1 Varbase core team member
  • βœ… Full testing and approval
  • βœ… Credit contributors
  • βœ… Review with the product owner
  • βœ… Update Release Notes and Update Helper on new feature change/addition
  • βœ… Release varbase-10.0.0-rc3 β†’ , varbase_core-10.0.20 β†’

Varbase update type

  • βœ… No Update
  • βž– Optional Update
  • βž– Forced Update
  • βž– Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • Issue #3444475 β†’ : Fixed Malformed inline YAML string in used yml files
πŸ“Œ Task
Status

Fixed

Version

10.0

Component

Code

Created by

πŸ‡―πŸ‡΄Jordan Rajab Natshah Jordan

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

Comments & Activities

Production build 0.69.0 2024