AI OnAI Off
Hi,
That's pretty strange - the code should be case insensitive. I'll look into this when time allows and will file a bug if necessary.
Regards,
/Q
Seems IPriceService.GetPrices works the same - the code is case sensitive.
Just FYI I found the issue and created a bug for that. For now you can use GetCatalogEntryPrices and filter on the result
Regards,
Q
Thank you!
Could you please give the bug number to check when it is solved ?
Unfortunately not yet. We need to triage the bug and refine it before making it public. But I'm quite possitive that it'll be resolved in the 9.23 release.
/Q
Hi
Seems the small issue was found out during the default price fetching.
Eg:
var catalogKey = new CatalogKey(AppContext.Current.ApplicationId, catalogEntryCode);
var defaultPrice = priceService.GetDefaultPrice(marketId, DateTime.UtcNow, catalogKey, market.DefaultCurrency);
If the catalogEntryCode is in the lowercase, but the price was saved with the uppercase catalogEntryCode, then the price is not returned.
However the priceService.GetCatalogEntryPrices(catalogKey); works fine. And the necessary price is in the list.
Is there any possibility to fix this?