Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The File Content Definition not generate ContentDefinition.json (OCC-213) #396

Open
giantpenguin opened this issue Jan 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@giantpenguin
Copy link

giantpenguin commented Jan 8, 2024

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
image

To Reproduce

Steps to reproduce the behavior:

  1. Run a new OrchardCore.Commerce.Web for setting up a site with the "Orchard Core Commerce - Development" recipe
  2. The setting-up site step success, you can see the start page with some test content
  3. Go to the Admin and enable the "File Content Definition" feature
  4. Go out to view the start page => see exception
  5. Check the App_Data/Sites/Default/ContentDefinition.json
  6. 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.

Jira issue

@giantpenguin giantpenguin added the bug Something isn't working label Jan 8, 2024
@github-actions github-actions bot changed the title The File Content Definition not generate ContentDefinition.json The File Content Definition not generate ContentDefinition.json (OCC-213) Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant