Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 1.15 KB

2020-10-28-fix-customer-groups-timeout-when-shop-has-many-customers.md

File metadata and controls

24 lines (21 loc) · 1.15 KB
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Fix customer groups timeout when shop has many customers
issue: NEXT-9784
author: Jannis Leifeld
author_email: [email protected] 
author_github: @jleifeld
---

Administration

  • Removed associations salesChannels and customers in computed allCustomerGroupsCriteria in the component sw-settings-customer-group-list
  • Removed associations salesChannels and customers in computed customerGroupCriteriaWithFilter in the component sw-settings-customer-group-list

Upgrade Information

Removed associations in customer group criteria

We have to remove the associations salesChannels and customers in these computed properties: allCustomerGroupsCriteria and customerGroupCriteriaWithFilter which can be find in this component: sw-settings-customer-group-list.

The reason for this is that a shop with many customers can´t open the module. The response is too heavy because all customers in the shop will be loaded. This can lead to a response timeout.

When you need the customer information then it would be good to fetch them in your plugin. You should use a criteria object which only fetches a limited amount of customers.