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

Form entry result in custom examine index get the submitted form entry appended in the custom index. Forms version 13.2.1 #1282

Open
swws23 opened this issue Aug 22, 2024 · 0 comments
Labels
state/sprint-candidate We're trying to get this in a sprint at HQ in the next few weeks

Comments

@swws23
Copy link

swws23 commented Aug 22, 2024

Versions:
Umbraco: 13.4.1
Umbraco Forms: 13.2.1

Reproduction:
Install Starterkit in version: 13.4.1
Create a Form to be picked on Home page
Create custom index: https://docs.umbraco.com/umbraco-cms/reference/searching/examine/indexing#creating-your-own-index - with a little tveak: set CanAddToIndex to "author", just so we can add a document to the custom index with minimal effort

Start up the site.
We can see the index will be filled with the one author from Starterkit. If it's not there, rebuild custom index manuel.
image

Now create a entry from the Form on the Home page. Then we can see the custom index a filled with 2 documents, and more fields.
image

So now the entry is both in the UmbracoFormsRecordsIndex and the custom ProductIndex
image
image

I think it is because the ProductIndex inherits from UmbracoExamineIndex which use interface IUmbracoIndex, then Umbraco Forms put the entries in indexes with TypeOf IUmbracoIndex


This item has been added to our backlog AB#43274

@BoletteKern BoletteKern added the state/sprint-candidate We're trying to get this in a sprint at HQ in the next few weeks label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state/sprint-candidate We're trying to get this in a sprint at HQ in the next few weeks
Projects
None yet
Development

No branches or pull requests

2 participants