Hi, I'm a bit puzzled by the behavior of one of ou...
# help
b
Hi, I'm a bit puzzled by the behavior of one of our importers. Its goal is to update categories in a multi store settings (similar to the backoffice, just in bulk). Via the backoffice the creation and publishing works fine. Via this importer the publishing does not work as expected, in particular urls don't get published properly. We use the CategoryFacade::update function which according to its documentation touches modified urls. I'm wondering if these 'touches' behave different in the 'import setting'? Do I have to call something explicitly for them to have any effect for example? Thanks for the help, best regards Tom.
Some further findings: touch has no effect because its deactivated in the TouchConfig. Via a backoffice change the events get published via a call to the method EventBehaviorFacade::triggerRuntimeEvents. An explicit call to this method in the importer has no effect (because the table that gets queried, spy_event_behavior_entity_change, is not filled during the import). I'm investigating further on my own, and I'm thankful for any help :)
Next finding:
Copy code
EventBehaviorConfig::disableEvent()
this gets called in \Spryker\Zed\DataImport\Communication\Plugin\DataImportEventBehaviorPlugin::beforeImport, which explains why the table is not filled.