Produkteexporte zerbrochen nach update auf 5.2.17

Nach dem Update auf 5.2.17 schlagen Produktexporte fehl.

You must call Zend_Session::setId() before any output has been sent to the browser; output started in /var/www/vhosts/shopware/docroot/engine/Shopware/Core/sExport.php/1056 in engine/Library/Zend/Session.php on line 713

#0 engine/Library/Zend/Session.php(448): Zend_Session::setId('31187a7b64269ed...') 
#1 engine/Shopware/Components/DependencyInjection/Bridge/Session.php(103): Zend_Session::start(Array) 
#2 var/cache/production_201702101619/proxies/ShopwareProduction79088d00681c97d288a87f7aef72cedf3fcab3e2ProjectContainer.php(761): Shopware\Components\DependencyInjection\Bridge\Session->createSession(Object(ShopwareProduction79088d00681c97d288a87f7aef72cedf3fcab3e2ProjectContainer), Object(Shopware\Components\Session\PdoSessionHandler)) 
#3 vendor/symfony/dependency-injection/Container.php(314): ShopwareProduction79088d00681c97d288a87f7aef72cedf3fcab3e2ProjectContainer->getSessionService() 
#4 engine/Shopware/Components/DependencyInjection/Container.php(182): Symfony\Component\DependencyInjection\Container->get('session', 1) 
#5 engine/Shopware/Components/DependencyInjection/Container.php(138): Shopware\Components\DependencyInjection\Container->doLoad('session', 1) 
#6 engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php(266): Shopware\Components\DependencyInjection\Container->get('session') 
#7 engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php(137): Shopware\Bundle\StoreFrontBundle\Service\Core\ContextService->getStoreFrontCurrentCustomerGroupKey() 
#8 engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ContextService.php(123): Shopware\Bundle\StoreFrontBundle\Service\Core\ContextService->initializeShopContext() 
#9 engine/Shopware/Core/sExport.php(1058): Shopware\Bundle\StoreFrontBundle\Service\Core\ContextService->getShopContext() 
#10 engine/Shopware/Controllers/Backend/Export.php(118): sExport->executeExport(Resource id 
#597) 
#11 engine/Shopware/Controllers/Backend/Export.php(69): Shopware_Controllers_Backend_Export->generateExport('php://output') 
#12 engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_Export->indexAction() 
#13 engine/Library/Enlight/Controller/Dispatcher/Default.php(523): Enlight_Controller_Action->dispatch('indexAction') 
#14 engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) 
#15 engine/Shopware/Kernel.php(180): Enlight_Controller_Front->dispatch() 
#16 vendor/symfony/http-kernel/HttpCache/HttpCache.php(487): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) 
#17 engine/Shopware/Components/HttpCache/AppCache.php(255): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) 
#18 vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) 
#19 engine/Shopware/Components/HttpCache/AppCache.php(103): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) 
#20 shopware.php(117): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) 
#21 {main}

 

kann ich bestätigen, gleiche fehlermeldung

Hi,

danke für das Feedback. Wir schauen gerade mal drauf.
 

VG,

Marcel

Hi,

wir konnten das Verhalten nicht immer zuverlässig reproduzieren. 
Wir haben aber mal einen Fix erarbeitet der das Problem lösen sollte:

Vielleicht könnt Ihr den mal bei euch einspielen und uns Feedback geben?

Würden dann eine Patch Version nachschieben.

VG,

Marcel

fix funktioniert bei uns!

kann ich bestätgiten, danke für den schnellen fix!!!  :)

Kunde hatte seit gestern auch das Problem, vermutlich wurde hier ein Update durchgeführt.
Mit dem Code von Marcel funktioniert es wieder.

Wäre super den in den Core aufzunehmen.

Der Patch wurde heute mit 5.2.18 ausgerollt.