Fix Malformed inline YAML string in used yml files

Created on 30 April 2024, 8 months ago
Updated 2 June 2024, 7 months 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.71.5 2024