Open tatosjb opened 1 year ago
postgres:10.12-alpine
The blog example crashes when changing collection types to enable localization.
yarn create strapi-app api --template blog --quickstart --ts
Enable localization for this Content-Type
At this point the server will broke when restarting.
{ "kind": "collectionType", "collectionName": "articles", "info": { "singularName": "article", "pluralName": "articles", "displayName": "Article", "description": "Create your blog content" }, "options": { "draftAndPublish": true }, "pluginOptions": { "i18n": { "localized": true } }, "attributes": { "title": { "type": "string", "pluginOptions": { "i18n": { "localized": true } } }, "description": { "type": "text", "maxLength": 80, "pluginOptions": { "i18n": { "localized": true } } }, "slug": { "type": "uid", "targetField": "title" }, "cover": { "type": "media", "multiple": false, "required": false, "allowedTypes": [ "images", "files", "videos" ], "pluginOptions": { "i18n": { "localized": true } } }, "author": { "type": "relation", "relation": "manyToOne", "target": "api::author.author", "inversedBy": "articles" }, "category": { "type": "relation", "relation": "manyToOne", "target": "api::category.category", "inversedBy": "articles" }, "blocks": { "type": "dynamiczone", "components": [ "shared.media", "shared.quote", "shared.rich-text", "shared.slider" ], "pluginOptions": { "i18n": { "localized": true } } } } }
If applicable, add code samples to help explain your problem.
Add any other context about the problem here.
Bug report
Required System information
postgres:10.12-alpine
)Describe the bug
The blog example crashes when changing collection types to enable localization.
Steps to reproduce the behavior
yarn create strapi-app api --template blog --quickstart --ts
Enable localization for this Content-Type
then save.At this point the server will broke when restarting.
Screenshots
Code snippets
If applicable, add code samples to help explain your problem.
Additional context
Add any other context about the problem here.