BlackbitDigitalCommerce / pimcore-data-director

Import Bundle for Pimcore
16 stars 3 forks source link

Strange logs on DataPort #103

Closed betterapp closed 1 year ago

betterapp commented 1 year ago

Hello

We have one Data Port which import data from files located under specific folder path. The configurations looks like this:

image

It is running automatically on new data. SO it should run only new files appears in folder which match settigs.

But we have strange logs. Every different period of time we see something like this:

image

Why we have this additional logs ?

We use DD: 3.2.39

BlackbitDevs commented 1 year ago

How the checkbox "Run automatically on new data" works, depends on the import resource type. For elements which trigger an event, the dataport will get run event-based. For import resources where changes do not trigger an event, the dataport gets run together with the maintenance job. And currently there seems to be a bug in this check if the import resource can be checked based on event (and thus the dataport gets started together with the maintenance job AND it also gets executed based on the pimcore.asset.postUpdate event). Your import resource is a Pimcore asset path (with glob expression), right? Will fix this...

BlackbitDevs commented 1 year ago

Is fixed in 3.4. Do you need this for 3.2 / 3.3?

betterapp commented 1 year ago

Yes. Please

BlackbitDevs commented 1 year ago

Fix is also released in 3.2.40 and 3.3.21