kaliop-uk / ezmigrationbundle

This bundle makes it easy to handle eZPlatform / eZPublish5 content upgrades/migrations
GNU General Public License v2.0
53 stars 81 forks source link

fix doc for the ContentTypes dsl #155

Closed crevillo closed 6 years ago

crevillo commented 6 years ago

i'm playing with content types and attribute names updating. it turns out that kmb don't like square brackets. probably is yaml the one which don't like them.

Using square brackets didn't allow execute the migration with this error

Unexpected characters (: "Name", "esl-ES": "Nombre" ]) at line 9 (near "name: [ "eng-GB": "Name", "esl-ES": "Nombre" ]").

Also, fixed a typo sting instead of string

gggeek commented 6 years ago

You are correct about square brackets not being good. In fact it's a yaml problem: arrays do not have named keys, but hashes do. And hashes use curly braces