Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#3 | yml-fix-3160057-3.patch | 665 bytes | sushyl |
Comments
Comment #2
sushylComment #3
sushylComment #4
sushylComment #5
brianperryI'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.
Comment #6
rlnorthcuttGood catch! I've fixed this and will roll a new release. Thank you.
Comment #7
rlnorthcutt