-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Description
Describe the bug
Importing a Query yields that the imported Query has an empty Query (template) field. This is the case also when exporting a Query from the Blog recipe.
Orchard Core version
Latest main
(64e5538) has it, but was the case with 2.1.6 at latest.
To Reproduce
- Fresh Blog setup.
- Create Deployment Plan with only the All Queries step, and execute it. The resulting recipe will contain the default
RecentBlogPosts
SQL Query. - Open the recipe, change the Query's
Name
property toImportedRecentBlogPosts
, and import it under JSON Import. - Open the newly imported Query and observe that its Query field is empty, unlike that of the original Query's.
Interestingly, executing local recipes from the Recipes screen doesn't have this issue.
This affects Lucene and Elasticsearch Queries too.
Expected behavior
The Query field contains the previously exported value.