BlackbitDigitalCommerce / pimcore-data-director

Import Bundle for Pimcore
16 stars 3 forks source link

Attribute mapping panel does not load #70

Open betterapp opened 1 year ago

betterapp commented 1 year ago

When we try to open "Attribute mapping" panel we got error image

The error detail is: Timestamp: Thu Jan 05 2023 10:11:48 GMT+0100 (czas środkowoeuropejski standardowy) Status: 500 | URL: /admin/BlackbitDataDirector/mappingconfig/get-config/6?_dc=1672909659246 Method: GET Message:

Fatal error: Maximum execution time of 240 seconds exceeded in /var/www/AAAA/www/vendor/blackbit/data-director/lib/Pim/Helper.php on line 607

Our mapping attribute panel have more then 300 attributes

PimCore: 6.9 DD: 3.2.11

betterapp commented 1 year ago

I temporary increased 240 second limit direct in lib/Kernel.php file But As is see XHR request for attribute mapping took 4,5 min.

image

betterapp commented 1 year ago

now I get this error

image

image

betterapp commented 1 year ago

@BlackbitDevs now the attribute mapping panel is empty. What can we do about it ?

image

BlackbitDevs commented 1 year ago

The problem is known. It is currently not optimally implemented so that loading attribute mapping needs a lot of memory and runtime. I have this on my todo list but as long as there are paid requests, we will focus on them before.

One thing which may help, is extracting raw data first because the preview data for attribute mapping checks if there already is any raw data. In not, it tries to fetch data from the configured import resource - which of course takes more time than just using the already existing raw data. But the main problem is loading the configuration for the single fields - the more fields, the bigger the problem. We will work on this but as always, you can speed things up by paying for it.