some-stone-92221
09/12/2022, 9:51 AMclean-painter-47981
09/12/2022, 12:28 PMred-whale-92071
09/12/2022, 12:55 PMfast-activity-30172
09/13/2022, 8:19 AMflaky-afternoon-98068
09/13/2022, 10:41 AMcalm-france-15664
09/13/2022, 11:57 AMnumerous-kitchen-79937
09/13/2022, 2:13 PMSection build-static-development
Command yves-build-frontend [vendor/bin/console frontend:yves:build] (0.8s)
Command zed-build-frontend [vendor/bin/console frontend:zed:build] (In progress...)
Store: DE | Environment: docker.dev
Install Project dependencies
Store: DE | Environment: docker.dev
Install Yves dependencies
Store: DE | Environment: docker.dev
Install Zed dependencies
Store: DE | Environment: docker.dev
Build Yves frontend
6.14.17
Store: DE | Environment: docker.dev
Build Zed frontend
> spryker-b2c-demo-shop@ zed /data
> node ./node_modules/@spryker/oryx-for-zed/build
internal/modules/cjs/loader.js:818
throw err;
^
Error: Cannot find module '/data/node_modules/@spryker/oryx-for-zed/build'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! spryker-b2c-demo-shop@ zed: `node ./node_modules/@spryker/oryx-for-zed/build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the spryker-b2c-demo-shop@ zed script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/spryker/.npm/_logs/2022-09-13T14_01_11_912Z-debug.log
In CommandLineExecutable.php line 107:
Aborted install...
install [-r|--recipe RECIPE] [-d|--dry-run] [-s|--sections SECTIONS] [-g|--groups GROUPS] [-x|--exclude EXCLUDE] [-e|--include-excluded INCLUDE-EXCLUDED] [-i|--interactive] [-b|--breakpoint] [-a|--ask-before-continue] [-l|--log] [--] [<store>]
ancient-apartment-59274
09/13/2022, 3:28 PMblue-actor-80549
09/13/2022, 3:52 PMstocky-architect-18877
09/14/2022, 10:17 AMeager-beach-43647
09/14/2022, 11:43 AMgreen-engine-89301
09/14/2022, 12:20 PMgreen-engine-89301
09/15/2022, 7:08 AMsome-stone-92221
09/15/2022, 7:12 AMacceptable-sundown-99280
09/15/2022, 8:36 AMgetConsoleCommand()
function of ConsoleDependencyProvider.php file.
When I run /vendor/bin/console my-command:test
jenkins job says There are no commands defined in the "my-command" namespace.
That command is also not visible with list of the other commands. Can anyone guide is there any step we need to perform when we deploy on Spryker cloud?elegant-airport-8264
09/15/2022, 12:10 PM{% extends view('home', '@SprykerShop:HomePage') %}
or
{% extends template('page-critical-path') %}
stocky-architect-18877
09/16/2022, 4:50 AMrough-agency-88294
09/16/2022, 7:19 AMrough-agency-88294
09/16/2022, 8:32 AMnumerous-kitchen-79937
09/16/2022, 8:38 AMSpryker\Shared\ZedRequest\Client\Exception\RequestException - Exception: Failed to complete request with server authority <http://backend-gateway.pricecoshop.local>.
Configured with (SSL Disabled) backend-gateway.pricecoshop.local: in /data/config/Shared/config_default.php. Error: Stacktrace:
<div style="font-family: Helvetica, Arial, sans-serif; font-size: 14px"><h1>ZED Exception</h1><div style="background: #dadada; padding: 5px"><font style="12"><b>Spryker\Shared\Kernel\Transfer\Exception\RequiredTransferPropertyException - Missing required property "method" for transfer Generated\Shared\Transfer\ShipmentTransfer.</b></font></div><p>in /data/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Transfer/AbstractTransfer.php (267)</p><p><b>Url:</b>/checkout-rest-api/gateway/place-order</p><p><b>Trace:</b></p><pre>#0 /data/src/Generated/Shared/Transfer/ShipmentTransfer.php(456): Spryker\Shared\Kernel\Transfer\AbstractTransfer->assertPropertyIsSet('method')
#1 /data/vendor/spryker/shipment/src/Spryker/Zed/Shipment/Business/Expander/QuoteShipmentExpander.php(286): Generated\Shared\Transfer\ShipmentTransfer->requireMethod()
#2 /data/vendor/spryker/shipment/src/Spryker/Zed/Shipment/Business/Expander/QuoteShipmentExpander.php(92): Spryker\Zed\Shipment\Business\Expander\QuoteShipmentExpander->setShipmentExpenseTransfers(Object(Generated\Shared\Transfer\QuoteTransfer), Object(ArrayObject))
#3 /data/vendor/spryker/shipment/src/Spryker/Zed/Shipment/Business/ShipmentFacade.php(412): Spryker\Zed\Shipment\Business\Expander\QuoteShipmentExpander->expandQuoteWithShipmentGroups(Object(Generated\Shared\Transfer\QuoteTransfer))
#4 /data/vendor/spryker/shipments-rest-api/src/Spryker/Zed/ShipmentsRestApi/Dependency/Facade/ShipmentsRestApiToShipmentFacadeAdapter.php(76): Spryker\Zed\Shipment\Business\ShipmentFacade->expandQuoteWithShipmentGroups(Object(Generated\Shared\Transfer\QuoteTransfer))
#5 /data/vendor/spryker/shipments-rest-api/src/Spryker/Zed/ShipmentsRestApi/Business/Mapper/ShipmentQuoteItemMapper.php(88): Spryker\Zed\ShipmentsRestApi\Dependency\Facade\ShipmentsRestApiToShipmentFacadeAdapter->expandQuoteWithShipmentGroups(Object(Generated\Shared\Transfer\QuoteTransfer))
#6 /data/vendor/spryker/shipments-rest-api/src/Spryker/Zed/ShipmentsRestApi/Business/ShipmentsRestApiFacade.php(73): Spryker\Zed\ShipmentsRestApi\Business\Mapper\ShipmentQuoteItemMapper->mapShipmentsToQuote(Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer), Object(Generated\Shared\Transfer\QuoteTransfer))
#7 /data/vendor/spryker/shipments-rest-api/src/Spryker/Zed/ShipmentsRestApi/Communication/Plugin/CheckoutRestApi/ShipmentsQuoteMapperPlugin.php(38): Spryker\Zed\ShipmentsRestApi\Business\ShipmentsRestApiFacade->mapShipmentsToQuote(Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer), Object(Generated\Shared\Transfer\QuoteTransfer))
#8 /data/vendor/spryker/checkout-rest-api/src/Spryker/Zed/CheckoutRestApi/Business/Checkout/PlaceOrderProcessor.php(138): Spryker\Zed\ShipmentsRestApi\Communication\Plugin\CheckoutRestApi\ShipmentsQuoteMapperPlugin->map(Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer), Object(Generated\Shared\Transfer\QuoteTransfer))
#9 /data/vendor/spryker/checkout-rest-api/src/Spryker/Zed/CheckoutRestApi/Business/Checkout/PlaceOrderProcessor.php(94): Spryker\Zed\CheckoutRestApi\Business\Checkout\PlaceOrderProcessor->executeQuoteMapperPlugins(Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer), Object(Generated\Shared\Transfer\QuoteTransfer))
#10 /data/vendor/spryker/checkout-rest-api/src/Spryker/Zed/CheckoutRestApi/Business/CheckoutRestApiFacade.php(45): Spryker\Zed\CheckoutRestApi\Business\Checkout\PlaceOrderProcessor->placeOrder(Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer))
#11 /data/vendor/spryker/checkout-rest-api/src/Spryker/Zed/CheckoutRestApi/Communication/Controller/GatewayController.php(37): Spryker\Zed\CheckoutRestApi\Business\CheckoutRestApiFacade->placeOrder(Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer))
#12 /data/vendor/spryker/zed-request/src/Spryker/Zed/ZedRequest/Communication/Plugin/GatewayControllerListenerPlugin.php(61): Spryker\Zed\CheckoutRestApi\Communication\Controller\GatewayController->placeOrderAction(Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer), Object(Spryker\Zed\ZedRequest\Business\Client\Request))
#13 /data/vendor/symfony/http-kernel/HttpKernel.php(156): Spryker\Zed\ZedRequest\Communication\Plugin\GatewayControllerListenerPlugin->Spryker\Zed\ZedRequest\Communication\Plugin\{closure}()
#14 /data/vendor/symfony/http-kernel/HttpKernel.php(78): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#15 /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(132): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#16 /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(110): Spryker\Shared\Application\Application->handle(Object(Symfony\Component\HttpFoundation\Request))
#17 /data/public/BackendGateway/index.php(20): Spryker\Shared\Application\Application->run()
#18 {main}</pre></div>
in /data/vendor/spryker/zed-request/src/Spryker/Shared/ZedRequest/Client/AbstractHttpClient.php (285)
Request URI: /checkout
Trace:
#0 /data/vendor/spryker/zed-request/src/Spryker/Shared/ZedRequest/Client/AbstractZedClient.php(87): Spryker\Shared\ZedRequest\Client\AbstractHttpClient->request('/checkout-rest-...', Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer), Array, NULL)
#1 /data/vendor/spryker/zed-request/src/Spryker/Shared/ZedRequest/Client/LoggableZedClient.php(44): Spryker\Shared\ZedRequest\Client\AbstractZedClient->call('/checkout-rest-...', Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer), NULL)
#2 /data/vendor/spryker/zed-request/src/Spryker/Client/ZedRequest/ZedRequestClient.php(51): Spryker\Shared\ZedRequest\Client\LoggableZedClient->call('/checkout-rest-...', Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer), NULL)
#3 /data/vendor/spryker/checkout-rest-api/src/Spryker/Client/CheckoutRestApi/Dependency/Client/CheckoutRestApiToZedRequestClientBridge.php(36): Spryker\Client\ZedRequest\ZedRequestClient->call('/checkout-rest-...', Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer), NULL)
#4 /data/vendor/spryker/checkout-rest-api/src/Spryker/Client/CheckoutRestApi/Zed/CheckoutRestApiZedStub.php(55): Spryker\Client\CheckoutRestApi\Dependency\Client\CheckoutRestApiToZedRequestClientBridge->call('/checkout-rest-...', Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer))
#5 /data/vendor/spryker/checkout-rest-api/src/Spryker/Client/CheckoutRestApi/CheckoutRestApiClient.php(45): Spryker\Client\CheckoutRestApi\Zed\CheckoutRestApiZedStub->placeOrder(Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer))
#6 /data/vendor/spryker/checkout-rest-api/src/Spryker/Glue/CheckoutRestApi/Processor/Checkout/CheckoutProcessor.php(101): Spryker\Client\CheckoutRestApi\CheckoutRestApiClient->placeOrder(Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer))
#7 /data/vendor/spryker/checkout-rest-api/src/Spryker/Glue/CheckoutRestApi/Controller/CheckoutResourceController.php(57): Spryker\Glue\CheckoutRestApi\Processor\Checkout\CheckoutProcessor->placeOrder(Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest), Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer))
#8 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/ControllerFilter.php(206): Spryker\Glue\CheckoutRestApi\Controller\CheckoutResourceController->postAction(Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest), Object(Generated\Shared\Transfer\RestCheckoutRequestAttributesTransfer))
#9 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/ControllerFilter.php(226): Spryker\Glue\GlueApplication\Rest\ControllerFilter->processResource(Object(Spryker\Glue\CheckoutRestApi\Controller\CheckoutResourceController), 'postAction', Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
#10 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/ControllerFilter.php(188): Spryker\Glue\GlueApplication\Rest\ControllerFilter->executeAction(Object(Spryker\Glue\CheckoutRestApi\Controller\CheckoutResourceController), 'postAction', Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
#11 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/ControllerFilter.php(158): Spryker\Glue\GlueApplication\Rest\ControllerFilter->getRestResponse(Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest), NULL, Object(Spryker\Glue\CheckoutRestApi\Controller\CheckoutResourceController), 'postAction')
#12 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Plugin/EventDispatcher/GlueRestControllerListenerEventDispatcherPlugin.php(71): Spryker\Glue\GlueApplication\Rest\ControllerFilter->filter(Object(Spryker\Glue\CheckoutRestApi\Controller\CheckoutResourceController), 'postAction', Object(Symfony\Component\HttpFoundation\Request))
#13 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Plugin/EventDispatcher/GlueRestControllerListenerEventDispatcherPlugin.php(56): Spryker\Glue\GlueApplication\Plugin\EventDispatcher\GlueRestControllerListenerEventDispatcherPlugin->filter(Object(Spryker\Glue\CheckoutRestApi\Controller\CheckoutResourceController), 'postAction', Object(Symfony\Component\HttpFoundation\Request))
#14 /data/vendor/symfony/http-kernel/HttpKernel.php(156): Spryker\Glue\GlueApplication\Plugin\EventDispatcher\GlueRestControllerListenerEventDispatcherPlugin->Spryker\Glue\GlueApplication\Plugin\EventDispatcher\{closure}()
#15 /data/vendor/symfony/http-kernel/HttpKernel.php(78): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#16 /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(132): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#17 /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(110): Spryker\Shared\Application\Application->handle(Object(Symfony\Component\HttpFoundation\Request))
#18 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/ApiApplication/ApiApplicationProxy.php(75): Spryker\Shared\Application\Application->run()
#19 /data/public/Glue/index.php(20): Spryker\Glue\GlueApplication\ApiApplication\ApiApplicationProxy->run()
#20 {main}
It looks like a problem with the Transfer object… I’ve ran ‘transfer:generate’ and checked the transfers and they all seem to be in place.
Any ideas? Many thanks for your help! 🙂big-dinner-30940
09/16/2022, 11:34 AMmodules:
enabled:
- Asserts
- \PyzTest\Shared\Testify\Helper\Environment
- \SprykerTest\Shared\Testify\Helper\LocatorHelper:
projectNamespaces: [ 'Pyz' ]
- \SprykerTest\Shared\Testify\Helper\DataCleanupHelper
- \SprykerTest\Client\Storage\Helper\StorageHelper
- \SprykerTest\Shared\Propel\Helper\TransactionHelper
- \SprykerTest\Client\Testify\Helper\ClientHelper
- \SprykerTest\Client\Testify\Helper\ConfigHelper
- \SprykerTest\Client\Testify\Helper\DependencyProviderHelper
- \SprykerTest\Client\Testify\Helper\FactoryHelper
- \SprykerTest\Shared\Testify\Helper\ConfigHelper
- \SprykerTest\Zed\Publisher\Helper\PublishAndSynchronizeHelper
- \SprykerTest\Zed\EventBehavior\Helper\EventBehaviorHelper
- \SprykerTest\Client\Queue\Helper\QueueHelper
- \SprykerTest\Zed\Testify\Helper\Business\BusinessHelper
- \SprykerTest\Zed\Testify\Helper\Business\DependencyProviderHelper
- \SprykerTest\Zed\Event\Helper\EventHelper
If anyone could provide a hint I would be very pleased 🙂 The sync-assertion is succeding by the way, only it's written to the Redis instance instead of InMemoryStoragePluginglamorous-book-96870
09/16/2022, 8:29 PMstocky-architect-18877
09/19/2022, 6:23 AMsilly-motherboard-93855
09/19/2022, 11:04 AM$jobs[] = [
'name' => 'custom-import-product-data',
'command' => '
UPDATED_SINCE=$(date -d "1 hour ago" +%F %H:%M:%S);
$PHP_BIN vendor/bin/console custom:import:product-abstract $UPDATED_SINCE;
(...)
but after running scheduler:setup it get's imported as
UPDATED_SINCE=$(date-d "1 hour ago" +%F %H:%M:%S);
breaking the command completely. What I'm after is getting the date 1 hour ago in jenkins job.fast-activity-30172
09/20/2022, 7:57 AMsilly-motherboard-93855
09/20/2022, 11:00 AMgreat-byte-99546
09/20/2022, 1:38 PMwooden-king-30682
09/20/2022, 3:56 PMform-action: 'self'
was added, among other directives, to the Content-Security-Policy Header.
There is a year old discussion, which still has no resolution, by the W3C (https://github.com/w3c/webappsec-csp/issues/8) about chrome and probably all other webkit based browsers, do implement the behavior a little bit strange, blocking all form that redirect after sending the form data.
MDN has a warning about this behavior: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/form-action
@average-branch-45579 / @plain-city-95899 Can you confirm that the checkout is broken in the demoshop as well? (https://github.com/spryker/application/releases/tag/3.28.1 is causing the issue).
If so I assume this needs a hotfix as it will impact all customers who do the patch update and might brake their checkouts as well. I'm also questioning why changing a security header, which has significant impact on applications, is a patch and not at least a minor.fast-activity-30172
09/21/2022, 6:45 AMlively-france-63418
09/21/2022, 8:28 AM