Developer forum

Forum » Development » Wrong clearing of favorite cache

Wrong clearing of favorite cache

Anders Ebdrup
Reply

Dear DynamicWeb,

 

It seems like clearing of the cache for favorite lists based on CustomerNumber is wrong.

Please see this section from "UserProductsMacro.cs", where I think that "customerNumberCacheKey" should be used to clear the cache instead of "autoIdsCacheKey". 

 

I hope this can be fixed?

 

Best regards, Anders


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Looks like you are right.

I will have QA look into it.

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

Hi,

new task #24285 has been submitted against the bug, thanks.

BR, Oleg QA 

Votes for this answer: 2
 
Anders Ebdrup
Reply

Hi Oleg,

 

Thank you very much!

At the same time will it be possible to clear all the cache in this Macro as the other service caches, so data can be cleared e.g. when importing favorites data?

 

Best regards, Anders

 
Oleg Rodionov Dynamicweb Employee
Oleg Rodionov
Reply

Hi Anders,

your request will be implemented by task User Story 24364: Make it possible to clear UserProductsMacro cache when importing data

BR, Oleg QA

 

You must be logged in to post in the forum