Developer forum

Forum » Ecommerce - Standard features » Weird issue with standard product field in EcomProductField

Weird issue with standard product field in EcomProductField

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi there,

On one of your sites the index suddenly didn't return any products anymore (according to the customer after they started translating products). After some investigation we found that the index data no longer contained the Active field (Luke.net didn't show it anymore). Since our query had a condition of Active == true, no products were returned.

We then tried to figure out why the field was no longer in the index, and eventually found the issue. It was this record in EcomProductField:

As soon as I deleted that field and updated the index, the Active field came back in the index and products were returned on the frontend again.

What I don't know is:

  • How did that field end up in that table? AFAIK, it's not integrated on our end in the UI you can't set it as standard. And judging by its ID it was created by Dynamicweb. Could this somehow be related to creating languages / translations.
  • Why does this break the indexing? 
  • Should this field ever be in EcomProductField or should standard fields never be there?

Note, we're running on a slightly older 9.9.5 version.

Thanks!

Imar


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Further to this, I think I can answer #1: it happens when you translate a field in the backend to a new language (Settings | Ecommerce | Product catalog | Product fields, then  select a non-default language, click the Active field and then hit Save and close to save the item).

Also, this issue reproduces for me on the latest 9.10 version.

Can this be looked at?

Thanks!

Imar

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply
This post has been marked as an answer

Hi Imar,

I was able to reproduce the issue on DW9.10 as well, it's now bugged by Bug 1099: Index corrupted with Active product field translated submitted. Thanks for observing.

BR, Oleg QA

Votes for this answer: 1

 

You must be logged in to post in the forum