PrestaSharp
PrestaSharp copied to clipboard
Feature Values GetAll() returns null
Hello, I have created a product exporter using PrestaSharp(1.2.9) which works fine on two prestashop (1.7.8.5) installations so far. Today I tried to run it on a PrestaShop (1.7.8.3).
The shop already contains feature values but GetAll() always return null.
var productFeatureValueFactory = new ProductFeatureValueFactory(Globals.baseUrl, Globals.account, Globals.password);
var AllProductFeatureValues = productFeatureValueFactory.GetAll();
I have tried Get(id) and works fine
var productFeatureValueFactory = new ProductFeatureValueFactory(Globals.baseUrl, Globals.account, Globals.password);
var someFeatureValue = productFeatureValueFactory.Get(589758);
{Bukimedia.PrestaSharp.Entities.product_feature_value}
custom: 0
id: 589758
id_feature: 7
value: Count = 2
Have anyone seen this problem ? Any solutions?
Best regards,
Same problem it works with 1.7.4.2 but not with 1.7.6.9. Postman works with both.
I solved this problem by filtering the fields I fetch.