Following line is repeated in the example_tabs.component.yml which causes a fatal error.
type: 'block'

Uncaught PHP Exception Drupal\Component\Serialization\Exception\InvalidDataTypeException: "Duplicate key "type" detected at line 49 (near "type: 'block'")." at /app/core/lib/Drupal/Component/Serialization/YamlSymfony.php line 40

CommentFileSizeAuthor
#3 yml-fix-3160057-3.patch665 bytessushyl
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sushyl created an issue. See original summary.

sushyl’s picture

Issue summary: View changes
sushyl’s picture

FileSize
665 bytes
sushyl’s picture

Status: Active » Needs review
brianperry’s picture

Status: Needs review » Reviewed & tested by the community

I'm actually not able to duplicate this on 1.0.0-beta2, but the patch applies and works fine, and I'd agree this makes sense to remove.

rlnorthcutt’s picture

Status: Reviewed & tested by the community » Fixed

Good catch! I've fixed this and will roll a new release. Thank you.

rlnorthcutt’s picture

Status: Fixed » Closed (fixed)