The File Content Definition not generate ContentDefinition.json (OCC-213)
giantpenguin opened this issue · comments
Describe the bug
enable the File Content Definition feature, but file ContentDefinition.json is not generated or be generated with un-usable data likes
{ "ContentTypeDefinitionRecords": [], "ContentPartDefinitionRecords": [ { "Name": "PublishLaterPart", "Settings": { "ContentPartSettings": { "Attachable": true, "Description": "Adds the ability to schedule content items to be published at a given future date and time." } }, "ContentPartFieldDefinitionRecords": [] } ], "Identifier": "4pkwq8kekdarfx3zxx0nrx39xe" }
The OrchardCore.Commerce.Web reference OrchardCore 1.7.0
To Reproduce
Steps to reproduce the behavior:
- Run a new OrchardCore.Commerce.Web for setting up a site with the "Orchard Core Commerce - Development" recipe
- The setting-up site step success, you can see the start page with some test content
- Go to the Admin and enable the "File Content Definition" feature
- Go out to view the start page => see exception
- Check the App_Data/Sites/Default/ContentDefinition.json
- Go to the Admin and disable the "File Content Definition" feature => site will work again
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.