awesto/django-shop

No exception message supplied at update_search_index, line 360

sofzer opened this issue · 1 comments

While I was trying to update a product,
I got the following message: StopIteration at /de/admin/my_shop/product/1/change/
coming from: python3.6/site-packages/shop/models/product.py in update_search_index, line 360

Did anyone have the same issue?

PS: I am not using Elasticsearch and didn't added during the setup

Solved that by removing: SearchProductIndexMixin class from Admin models
While Elasticsearch is not used it's normal to have this problem from the initialized demo app, so it fits a general setup and not a specific one.