-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Add behat test scenarios for wholesale_price change when assigning supplier #22380
Add behat test scenarios for wholesale_price change when assigning supplier #22380
Conversation
The test is constantly failing due duplicate key in ps_layered_price_index. It might be a good chance to tackle down that problem, as it might not only be a caching issue, but actual bug with combinations and faceted search module 🤔 |
ps_facetedsearch.php indexProductPrices() the final result of values to be inserted are (in ps_facetedsearch.php L551)
Im not actually sure its bug in module or it is test fault, maybe some undesired stuff is happening because there is 7 currencies created (5 of which are USD) during tests 😓 |
@zuk3975 Did you find the answer about ps_facetedsearch? |
| @zuk3975 Did you find the answer about ps_facetedsearch? yep It was caching issue related to combination, this seemed to help 1e94d99 |
clearing cache manually, doesn't seem like a good solution yet, its still under investigation 🕵️ , so don't rush to merge 😅 |
@zuk3975 after a few search on my side I did notice the same problems you mentioned, the root problem indeed came from the
The problem here is that the cache was filled on product creation, then combinations were created but the cache didn't know them so it didn't know their prices and returned null.. I added two fixes for this:
|
Thank you @zuk3975 and @jolelievre |
This change is