A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
We get the following exception when indexing our contents.
I read about it and the accepted solution was Joel Abrahamsson comment:
https://world.episerver.com/forum/developer-forum/EPiServer-Search/Thread-Container/2012/8/MapperParsingException-when-indexing/#60861
So I decided to give that solution a try, so, first I removed pages which names where a date.
Then:
It seems that the error is still there after a Clear.
So, Is there still no solution to this?
The error is only in production for now, which is unfortunate, I really don't want to delete and create a new production index.
I'm thinking that there might be a solution like this?
But I'm not sure that that will affect anything deep down in Elastic Search?
How do we deal with this issue?
Guess we have to assume that the customer can name the first page of pagetype as a date and we should be able to handle that correctly!
---
Starting over on a new Index:
If I add the following to our BasePageData, there is one "Name" and one "_Name" in Find:
Or if I add this to the find conventions:
Find-properties:
If I add the following to our BasePageData, there is two "_Name" in first level of JSON:
Find-properties:
Guess that there is some magic going on, adding the _Name in the Serializer no matter how we define things in EPi!?
Then I guess there has to be investigated which _Name is used to define datatype!?
[Pasting files is not allowed][Pasting files is not allowed]