Customers streams unvollständig

Hallo,

Einen customer stream nach „hat Adresse mit Land“ habe ich eingestellt, und nur ca. die hälfte von den Kunden werden under dem Stream gelistet.

Also z.B. : 14 aus 28 Kunden aus Korea werden in die linke Spalte gelistet, obwohl die anderen schon in den rechten Spalte filtriert bzw. sichtbar sind.

Gibt es da ein problem mit der SQL?

Das problem gab es schon unter 5.3.1; nun auch unter 5.3.2

Danke im Voraus!

ok, ich kriege dazu die folgende Meldung bei jede zweite Cronjob:

Oops! An error has occurred!

The following notes should help you.
An exception occurred while executing 'INSERT INTO s_customer_streams_mapping (stream_id, customer_id) VALUES (:streamId, :customerId)' with params ["3", 100]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '3-100' for key 'stream_id' in vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 119
Stack trace:

#0 vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(174): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(PDOException), 'INSERT INTO s_c...', Array)
#1 engine/Shopware/Components/CustomerStream/StreamIndexer.php(89): Doctrine\DBAL\Statement->execute(Array)
#2 vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(1108): Shopware\Components\CustomerStream\StreamIndexer->Shopware\Components\CustomerStream\{closure}(Object(Doctrine\DBAL\Connection))
#3 engine/Shopware/Components/CustomerStream/StreamIndexer.php(99): Doctrine\DBAL\Connection->transactional(Object(Closure))
#4 engine/Shopware/Bundle/CustomerSearchBundleDBAL/Indexing/CronJobSubscriber.php(102): Shopware\Components\CustomerStream\StreamIndexer->populate('3', Object(Shopware\Bundle\CustomerSearchBundleDBAL\Indexing\CronJobProgressHelper))
#5 engine/Library/Enlight/Event/Handler/Default.php(91): Shopware\Bundle\CustomerSearchBundleDBAL\Indexing\CronJobSubscriber->refresh(Object(Shopware_Components_Cron_CronJob))
#6 engine/Library/Enlight/Event/EventManager.php(251): Enlight_Event_Handler_Default->execute(Object(Shopware_Components_Cron_CronJob))
#7 engine/Library/Enlight/Components/Cron/Manager.php(259): Enlight_Event_EventManager->notifyUntil('Shopware_CronJo...', Object(Shopware_Components_Cron_CronJob))
#8 engine/Shopware/Plugins/Default/Core/Cron/Cron.php(52): Enlight_Components_Cron_Manager->runJob(Object(Enlight_Components_Cron_Job))
#9 engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_Cron->indexAction()
#10 engine/Library/Enlight/Controller/Dispatcher/Default.php(530): Enlight_Controller_Action->dispatch('indexAction')
#11 engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
#12 engine/Shopware/Kernel.php(184): Enlight_Controller_Front->dispatch()
#13 vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL)
#15 vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true)
#16 engine/Shopware/Components/HttpCache/AppCache.php(105): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true)
#17 shopware.php(118): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request))

habe dann die s_customer_strams_mapping gelöcht, cache manuell geleert, und alles von Vorne neu gemacht. Leider immer noch ohne Erfolg.

Hallo,

das „Adresse hat Land“ Problem konnte ich ebenfalls nachstellen. Das haben wir auch als Ticket inkl. Fehlermeldung vorliegen und schauen wir uns fürs nächste Update an.

Sebastian

Danke Sebastian. Irgendwie scheint es nicht für alle Länder gleich probelmatisch zu sein, aber bei mir sind z.B. USA und Korea problematisch. (Habe nicht alle Länder ausprobiert). Deutschland läuft z.B. ohne Problem.

 

Und seit dem Update heute (2 Jahre später) auf 5.5.7 habe ich diesen Fehler auch … :frowning: Hilfe!

Hallo zusammmen

habe auch das Problem - der customer stream nach Länderauswah ist unvollständig. Nutze Version 5.5.8

Gibt es eine Lösung ?

Danke