-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Description
Describe the bug
When following the readme to create a custom theme, and including a .recipe.json file, with 'issetuprecipe': true, the theme is not in the startup collection.
Orchard Core version
2.2.1 / Visual Studio 2022 /Visual Studio 2026
To Reproduce
- Follow the readme steps to create a new theme
- Add/Edit the recipe.json file
- Include the project in the Cms.Web project dependencies
- Start the Cms.Web project, debug the recipe harvester, check found recipes when the 'path' matches the project - no recipes are found.
If you then:
- Copy the recipe file to one of the other themes and start: The new recipe IS visible (twice) in the drop down.
- Delete the copied recipe file from the Orchard theme and start. The new recipe is still visible twice.
- Rebuild the solution and restart: The new recipe is visible ONCE in the drop down, debugging The Recipe harvester shows it being found within the correct project path.
Expected behavior
Recipe is detected by the Recipe Harvester class and displayed in the setup dropdown list of available recipes.