passionweb-manuel-schnabel / contentblocks-reg-api-migration

Adds a migration command to migrate content blocks from the Content Blocks Registration API to TYPO3 CMS Content Blocks.
2 stars 1 forks source link

The type "Integer" is not converted to "Number" #2

Open velletti opened 1 month ago

velletti commented 1 month ago

After Conversion, the Flush cache command throws:

The type "Integer" is not a valid type in Content Block "vendor/contentblock". Valid types are: Category, Checkbox, Collection, Color, DateTime, Email, File, FlexForm, Folder, Json, Language, Linebreak, Link, Number, Palette, Password, Radio, Relation, Select, Slug, Tab, Text, Textarea, Uuid.

solution:

add this 'Integer' => ['type' => 'Number'], to YamlUtility class

i Will create a pull request for this