careful-country-34175
10/06/2022, 6:54 AMsuggestion-results
and overwrite the content so that an organism is loaded there.
The whole thing (suggestion-results) is loaded via the SuggestionController using AJAX and it seems that in this case the javascript of the organism is not loaded. Is there a trick here, or does the Webpack Magic comment, for example, have to look different?
Currently the registration of that specific organisms uses the lazy
-tag of webpack.late-tiger-76201
10/06/2022, 8:14 AM> [2/3] RUN /usr/bin/install -d -m 777 /var/run/opcache/debug:
#7 0.158 /usr/bin/install: cannot create directory '/var/run/opcache': Permission denied
------
executor failed running [/bin/sh -c /usr/bin/install -d -m 777 /var/run/opcache/debug]: exit code: 1
clean-painter-47981
10/06/2022, 9:24 AMstocky-architect-18877
10/06/2022, 12:51 PMmodern-cpu-62347
10/06/2022, 5:03 PMdry-australia-16821
10/11/2022, 7:33 AMripe-table-11062
10/11/2022, 7:41 AMjolly-solstice-36678
10/11/2022, 9:48 AMfull-chef-58489
10/11/2022, 9:48 AMbright-librarian-29390
10/12/2022, 11:58 AMquiet-ram-72134
10/13/2022, 9:25 AMgreen-engine-89301
10/14/2022, 11:24 AMplain-pharmacist-44109
10/15/2022, 7:03 PMprehistoric-carpenter-29430
10/16/2022, 10:54 AMearly-army-90039
10/17/2022, 7:10 AM<?php
/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/
namespace PyzTest\Zed\SeoTemplates\Communication\Controller;
use Codeception\Test\Unit;
use SeoTemplatesCommunicationTester;
/**
* Auto-generated group annotations
*
* @group PyzTest
* @group Zed
* @group Customer
* @group Communication
* @group Controller
* @group SeoTemplatesIndexTest
*
*/
class SeoTemplatesIndexTest extends Unit
{
protected const TEMPLATES_PAGE = '/seo-templates';
/**
* @param SeoTemplatesCommunicationTester $test
*
* @return void
*/
public function testBreadCrumbIsVisible(SeoTemplatesCommunicationTester $test): void
{
$test->amOnPage(static::TEMPLATES_PAGE);
$test->seeBreadcrumbNavigation('Merchandising / SEO Templates');
}
}
But I am getting following error:
[ArgumentCountError] Too few arguments to function PyzTest\Zed\SeoTemplates\Communication\Controller\SeoTemplatesIndexTest::testBreadCrumbIsVisible(), 0 passed in /data/vendor/phpunit/phpunit/src/Framework/TestCase.php on line 1527 and exactly 1 expected
Please give reference for test cases from where I can take help for same.fast-activity-30172
10/17/2022, 7:54 AMlittle-island-16971
10/17/2022, 10:03 AMdocker/sdk up
is working well, the zed backend
is ok, but in Yves, when we need to communicate with Zed it always failing with an error as:
Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "POST <https://zed.de.shop-b2b.local/customer/gateway/customer">; in file /data/vendor/symfony/http-kernel/EventListener/RouterListener.php on line 135 ◀
Caused by
Symfony\Component\Routing\Exception\ResourceNotFoundException: None of the routers in the chain matched this request POST /customer/gateway/customer HTTP/1.1
The RouterDependencyProvider
in Zed
has updated as in the b2b-demo-shop:
/**
* @return \Spryker\Zed\RouterExtension\Dependency\Plugin\RouterPluginInterface[]
*/
protected function getBackofficeRouterPlugins(): array
{
return [
new BackofficeRouterPlugin(),
];
}
/**
* @return \Spryker\Zed\RouterExtension\Dependency\Plugin\RouterPluginInterface[]
*/
protected function getBackendGatewayRouterPlugins(): array
{
return [
new BackendGatewayRouterPlugin(),
];
}
And even I have tested with the old one:
protected function getRouterPlugins(): array
{
return [
new ZedRouterPlugin(),
// This router will only be hit, when no other router is able to match/generate
new ZedDevelopmentRouterPlugin(),
];
}
But nothing works. Running the console command vendor/bin/console router:debug:backend-gateway
the route is showed. Has anybody any clue about what would be wrong?ancient-apartment-59274
10/17/2022, 2:31 PMnumerous-kitchen-79937
10/17/2022, 9:31 PMFatal error: Uncaught Symfony\Component\HttpClient\Exception\ClientException: HTTP/1.1 404 Not Found returned for "<http://glue.pricecoshop.local/catalog-search?q=Cabbage>". in /var/www/html/vendor/symfony/http-client/Response/CommonResponseTrait.php:174 Stack trace: #0 /var/www/html/vendor/symfony/http-client/Response/CommonResponseTrait.php(48): Symfony\Component\HttpClient\Response\CurlResponse->checkStatusCode() #1 /var/www/html/vendor/symfony/http-client/Response/CurlResponse.php(247): Symfony\Component\HttpClient\Response\CurlResponse->doGetContent(true) #2 /var/www/html/vendor/symfony/http-client/Response/CommonResponseTrait.php(83): Symfony\Component\HttpClient\Response\CurlResponse->getContent(true) ...
When I access the same endpoint via Postman it works fine.
When I simply type the endpoint URL into the browser, it works fine.
Also when I run the PHP script from the CLI it works too…
But it errors only when I try to access via the docker PHP application.
I’ve tried doing a simple CURL request from the application and this doesn’t work either.
My Spryker config is:
$config[GlueApplicationConstants::GLUE_APPLICATION_CORS_ALLOW_ORIGIN] = '*';
so it’s not a CORS thing…
Any help would be much appreciated! :)early-army-90039
10/18/2022, 7:08 AMeager-island-84229
10/18/2022, 8:21 AMbright-cat-24225
10/18/2022, 9:52 AMglamorous-book-96870
10/18/2022, 1:43 PMCustomerConfig.php
.acceptable-sundown-99280
10/18/2022, 2:20 PM'locales' => [
// first entry is default
'en' => 'en_US',
'de' => 'de_DE',
],
Is it used for country? or we can add anything as key and key is not used anywhere? I have 5+ locales available for multiple countries like fr_CA, en_CA and es_CA.stocky-architect-18877
10/19/2022, 9:12 AMenough-byte-77557
10/19/2022, 9:57 AMearly-army-90039
10/19/2022, 11:24 AMgreen-engine-89301
10/19/2022, 1:06 PMmysterious-ambulance-11183
10/20/2022, 7:02 AMbright-librarian-29390
10/20/2022, 10:59 AM