-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Description
Preconditions
- Magento 2.1.1
Steps to reproduce
- Build a catalog with many categories (I have 6000 categories, from levels 1 to 8).
- Access the Product Edit page in back-office.
Expected result
- Page is displayed after a reasonable time (3-4 seconds) and the form is accessible for editing. The category picker also works fast.
Actual result
- The page is properly displayed quite fast.
- The spinner remains "loading" while Magento builds up the edit form.
- This take around 45 secs.
- The spinner is remove and the form is properly displayed.
- The component for category assignment is dramatically slow and nearly unusable.
If I shutdown the module-catalog/Ui/DataProvider/Product/Form/Modifier/Categories.php (by returning an empty array or capping it to 10 categories on getCategoriesTree
function), the problem is gone and the page renders quite fast.
So imho this is a bug related to the Javascript component which is responsible for rendering the category dropdown.
Let me know