Try our conversational search powered by Generative AI!

Inefficient metaclass loading in ecf_Search_OrderGroup

Fixed in

EPiServer.Commerce 11.4.0

(Or a related package)

Created

Oct 03, 2017

Updated

Nov 10, 2017

Area

Core

State

Closed, Fixed and tested


Description

In ecf_Search_OrderGroup, every metaclass is loaded to see if it inherits from OrderFormPayment. This is very inefficient, especially if a site has many metaclasses.

Reported from: http://world.episerver.com/forum/developer-forum/Episerver-Commerce/Thread-Container/2017/10/unnecessary-performance-hits-when-loading-cartswishlists/?pageIndex=1#reply