Problem/Motivation

I tried to update from 6.0.5 to 6.1.0 and when I run update.php, the following error is returned:

Failed:
Drupal\Component\Serialization\Exception\InvalidDataTypeException: Unable to parse at line 52 (near ""yes_key: 'Yes"'"). in Drupal\Component\Serialization\YamlSymfony::decode() (line 40 of /code/core/lib/Drupal/Component/Serialization/YamlSymfony.php).

Proposed resolution

Any ideas on how to get the update to work?

Issue fork webform-3251591

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

scampbell1 created an issue. See original summary.

scampbell1’s picture

Issue summary: View changes
cilefen’s picture

A form with that question has invalid YAML syntax.

jrockowitz made their first commit to this issue’s fork.

jrockowitz’s picture

Status: Active » Needs review

jrockowitz’s picture

Instead of throwing a fatal error, I think it is safer to display a notice.

  • jrockowitz committed 3990d89 on 6.x
    Issue #3251591 by jrockowitz: Error with Update #8626
    
jrockowitz’s picture

Status: Needs review » Fixed

  • jrockowitz committed 3990d89 on 6.1.x
    Issue #3251591 by jrockowitz: Error with Update #8626
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.