calm-toddler-60539
06/20/2023, 9:13 AMclean-sundown-47111
06/20/2023, 1:14 PMrich-guitar-29888
06/21/2023, 6:44 AMhandsome-answer-84188
06/21/2023, 7:02 AMclean-sundown-47111
06/21/2023, 7:58 AMwonderful-baker-94910
06/21/2023, 3:12 PMrich-guitar-29888
06/22/2023, 6:51 AMbest-sundown-96727
06/22/2023, 4:03 PMKernelConstants::RESOLVABLE_CLASS_NAMES_CACHE_ENABLED
(both enabled)able-train-56624
06/26/2023, 7:32 AMbillions-river-96238
06/26/2023, 10:54 AMaloof-morning-50341
06/26/2023, 2:28 PMplain-potato-51864
06/27/2023, 7:38 AMgreat-byte-99546
06/27/2023, 8:00 AMancient-apartment-59274
06/27/2023, 8:16 AMhttps://host.yves/default/img/logo.svgSomething like
//host.yves/default/img/logo.svgwas generated. We think this is a faulty implementation in the YvesUrlFunctionProvider, since it does not add any scheme based on the is_ssl_enabled config for example. But then i saw also the file mail_layout.html.twig which also has a static link NOT including any scheme
<//www.de.project.local/assets/default/img/logo.svg>I am confused now … my assumption is, that this is the reason why it will not work in any mail program even if mailhog can resolve it. Did somebody faced this issue too? Best
quick-baker-99786
06/27/2023, 8:34 AMrough-rainbow-3431
06/27/2023, 9:14 AM$this->fileSystemService->writeStream($fileSystemStreamTransfer, $stream);
I guess I will have to download temporarily the image and do a kind of fopen to create the $stream argument ?rich-guitar-29888
06/27/2023, 10:09 AMrich-guitar-29888
06/27/2023, 12:32 PMfreezing-guitar-75665
06/27/2023, 4:58 PMLOADING Redis is loading the dataset in memory
Build step 'Execute shell' marked build as failure
"
Can anyone give me the solution if you have?wooden-king-30682
06/28/2023, 6:09 AMvictorious-parrot-47014
06/28/2023, 10:17 AMlate-tiger-76201
06/28/2023, 2:41 PMrough-rainbow-3431
06/28/2023, 4:17 PMcreateView@AbstractTabs
method being called from controllers
$this->getFactory()->createProductFormEditTabs()->createView()
offers us a abstract build method, but at the point of the build the only thing i have in hands is the TabsViewTransfer $tabsViewTransfer
By introducing a plugin in here
ProductManagementDependencyProvider
protected function getProductAbstractFormEditTabsExpanderPlugins(): array
{
return [];
}
I can get the $tabsViewTransfer and manipulate it , but inside that plugin i still would need to know if I derived from add or edit controller
any ideas how to work around that ?
Thx a lot
In other words somehow I need by overriding this method protected function addImageTab(TabsViewTransfer $tabsViewTransfer)
to set a specific template depending a variable from controller.
Is there a way to get form container everything about the current request ? maybe i could distinguish inside that plugin from the request object ?
I guess I can get the request from with in factory like this
$this->getRequestStack()->getCurrentRequest();
thankful-dog-19953
06/28/2023, 4:35 PMnumerous-crowd-1561
06/29/2023, 7:36 AMmammoth-autumn-37948
06/29/2023, 1:28 PMEventBehaviorEventDispatcherPlugin
was added in the dispatcher list. So far so good..let`s say.
But the problem arose the moment we noticed that in the GlueStorefrontApplication the EventDispatcherApplicationPlugin
plugin was missing in the list of Application Plugins (\Pyz\GlueStorefrontApiApplication\GlueStorefrontApiApplicationDependencyProvider::getApplicationPlugins
). Once you add this (of course the Glue one) you trigger a lot of problems since the plugin event dispatchers are in common and the Storefront cannot run the EventBehaviorEventDispatcherPlugin
since it has no dependency with propel etc.. that the plugin needs.
Now two things are: should be separated the event dispatcher plugins based on the application, as done between zed and yves, or the plugins should be inserted based on the current application.
Does anyone have the same problem encountered?
@green-ocean-22823 U are the person that released it under ticket CC-27948. Do u have an idea why the EventDispatcherApplicationPlugin
is missing for Storefront and why the EventBehaviorEventDispatcherPlugin
was added even if it cannot run for Storefront?
Thank u in advance and BR
Gio
p.s.: if the EventDispatcherApplicationPlugin
is missing in Storefront then for every call u have the error as follow:
Spryker.CRITICAL: Spryker\Service\Container\Exception\NotFoundException - The requested service "dispatcher" was not found in the container! in "/current/vendor/spryker/container/src/Spryker/Service/Container/Container.php::262" {"exception":"[object] (Spryker\\Service\\Container\\Exception\\NotFoundException(code: 0): The requested service \"dispatcher\" was not found in the container! at /current/vendor/spryker/container/src/Spryker/Service/Container/Container.php:262)
[stacktrace]
#0 /current/vendor/spryker/container/src/Spryker/Service/Container/Container.php(216): Spryker\\Service\\Container\\Container->getService('dispatcher')
#1 /current/vendor/spryker/http/src/Spryker/Glue/Http/Plugin/Application/HttpApplicationPlugin.php(159): Spryker\\Service\\Container\\Container->get('dispatcher')
#2 /current/vendor/spryker/http/src/Spryker/Glue/Http/Plugin/Application/HttpApplicationPlugin.php(94): Spryker\\Glue\\Http\\Plugin\\Application\\HttpApplicationPlugin->getEventDispatcher(Object(Spryker\\Shared\\Kernel\\Container\\ContainerProxy))
#3 /current/vendor/spryker/container/src/Spryker/Service/Container/Container.php(279): Spryker\\Glue\\Http\\Plugin\\Application\\HttpApplicationPlugin->Spryker\\Glue\\Http\\Plugin\\Application\\{closure}(Object(Spryker\\Shared\\Kernel\\Container\\ContainerProxy))
#4 /current/vendor/spryker/container/src/Spryker/Service/Container/Container.php(216): Spryker\\Service\\Container\\Container->getService('kernel')
#5 /current/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(196): Spryker\\Service\\Container\\Container->get('kernel')
#6 /current/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(178): Spryker\\Shared\\Application\\Application->getKernel()
#7 /current/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/ApiApplication/ApiApplicationProxy.php(190): Spryker\\Shared\\Application\\Application->terminate(Object(Symfony\\Component\\HttpFoundation\\Request), Object(Symfony\\Component\\HttpFoundation\\Response))
#8 /current/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/ApiApplication/ApiApplicationProxy.php(159): Spryker\\Glue\\GlueApplication\\ApiApplication\\ApiApplicationProxy->terminateApplication(Object(Spryker\\Glue\\GlueStorefrontApiApplication\\Application\\GlueStorefrontApiApplication), Object(Symfony\\Component\\HttpFoundation\\Response))
#9 /current/public/GlueStorefront/index.php(20): Spryker\\Glue\\GlueApplication\\ApiApplication\\ApiApplicationProxy->run()
#10 {main}
"} {"environment":{"application":"GLUE_STOREFRONT","environment":"production","codeBucket":"DE","store":"DE","locale":"de_DE"},"server": ....
stale-battery-68732
06/29/2023, 1:33 PMable-train-56624
06/29/2023, 4:41 PMstocky-action-20182
06/30/2023, 6:09 AM* @return \Spryker\Shared\Kernel\Transfer\TransferInterface|array
*/
public function run(array $orderItems, SpySalesOrder $orderEntity, ReadOnlyArrayObject $data)
{
if(config()->isSkipflagenabled()) {
return; // I need to return empty or an array
}
$orderEntity->getItems()->setData($orderItems);
$orderTransfer = $this->getOrderTransfer($orderEntity);
return $this
->getFacade()
->captureCommandHandle($orderItems, $orderTransfer);
}
do I need to return empty or an array as mentioned in return type, if so what is the array to returned?stocky-action-20182
06/30/2023, 6:10 AM