Quantcast
Channel: Programmierung - Shopware Community Forum
Viewing all articles
Browse latest Browse all 2871

Cronjob Productfeed - Hook:after wird nicht ausgeführt

$
0
0

Hallo,
wir haben ein Plugin welches per Hook:after das SQL von einem Productfeed anpasst.
Wird der Productfeed über http gezogen klappt alles bestens.

Der Feed ist ziemlich groß, daher muss er über die CLI gestartet werden.
Über die CLI wird der Hook:after nicht angesteuert?

Warum?

https://github.com/shopware/shopware/blob/5.2/engine/Shopware/Core/sExport.php#L1003

@shopware‍ Bug? Werden im Cronjob die Plugins nicht berücksichtigt? Evtl. weil der Cronjob selbst ein Plugin ist?

public static function getSubscribedEvents()
    {
        return [
            'sExport::sCreateSql::after' => 'hookExportSql'
        ];
    }

 

Besten Dank


Viewing all articles
Browse latest Browse all 2871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>