refined-thailand-15163
02/08/2023, 6:54 AMfancy-garage-20650
02/08/2023, 9:26 AMrough-finland-88303
02/08/2023, 10:32 AMearly-army-90039
02/08/2023, 10:54 AMTransactionTrait
and using this function for transaction $this->getTransactionHandler()->handleTransaction
late-tiger-76201
02/08/2023, 3:24 PMrough-finland-88303
02/08/2023, 8:41 PMmillions-river-67963
02/08/2023, 8:43 PMsalmon-river-59357
02/09/2023, 2:52 PMaloof-doctor-18410
02/09/2023, 4:27 PMmost-plumber-5947
02/10/2023, 6:43 AMbland-yacht-60252
02/13/2023, 9:15 AMbillions-scooter-18241
02/13/2023, 10:56 AMcurl -H 'accept-language: de' -H 'accept: application/json' -H 'content-type: application/json' -H 'user-agent: OpenAPI-Generator/1.0.0/xxxxx --compressed -X POST <https://url/access-tokens> -d '{"data":{"attributes":{"password":"xxxxxxx","username":"xxxxxx"},"type":"access-tokens"}}'
Spryker\Glue\RestRequestValidator\Processor\Exception\CacheFileNotFoundException - Exception: Validation cache is enabled, but cache file is not found.
in /data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Processor/Validator/Configuration/RestRequestValidatorConfigReader.php (78)
Request URI: /access-tokens
Trace:
#0 /data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Processor/Validator/Constraint/RestRequestValidatorConstraintResolver.php(88): Spryker\Glue\RestRequestValidator\Processor\Validator\Configuration\RestRequestValidatorConfigReader->findValideader->findValidationConfiguration(Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
#1 /data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Processor/Validator/Constraint/RestRequestValidatorConstraintResolver.php(68): Spryker\Glue\RestRequestValidator\Processor\Validator\Constraint\RestRequestValidatorConstraintResolver->getConResolver->getConstraintFromConfig(Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
#2 /data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Processor/Validator/RestRequestValidator.php(77): Spryker\Glue\RestRequestValidator\Processor\Validator\Constraint\RestRequestValidatorConstraintResolver->getConstraintCollection(Object(Sprytion(Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
#3 /data/vendor/spryker/rest-request-validator/src/Spryker/Glue/RestRequestValidator/Plugin/ValidateRestRequestAttributesPlugin.php(36): Spryker\Glue\RestRequestValidator\Processor\Validator\RestRequestValidator->validate(Object(Symfony\Component\HttpFoundation\Request), Objon\Request), Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
#4 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/Request/RestRequestValidator.php(170): Spryker\Glue\RestRequestValidator\Plugin\ValidateRestRequestAttributesPlugin->validate(Object(Symfony\Component\HttpFoundation\Request), Object(Spryker\Glue\ct(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
#5 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/Request/RestRequestValidator.php(72): Spryker\Glue\GlueApplication\Rest\Request\RestRequestValidator->executeRestRequestValidatorPlugins(Object(Symfony\Component\HttpFoundation\Request), Object(Spuest), Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
#6 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/ControllerFilter.php(287): Spryker\Glue\GlueApplication\Rest\Request\RestRequestValidator->validate(Object(Symfony\Component\HttpFoundation\Request), Object(Spryker\Glue\GlueApplication\Rest\Requeation\Rest\Request\Data\RestRequest))
#7 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Rest/ControllerFilter.php(157): Spryker\Glue\GlueApplication\Rest\ControllerFilter->validateRequest(Object(Spryker\Glue\AuthRestApi\Controller\AccessTokensResourceController), Object(Symfony\Component\mfony\Component\HttpFoundation\Request), Object(Spryker\Glue\GlueApplication\Rest\Request\Data\RestRequest))
#8 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Plugin/EventDispatcher/GlueRestControllerListenerEventDispatcherPlugin.php(71): Spryker\Glue\GlueApplication\Rest\ControllerFilter->filter(Object(Spryker\Glue\AuthRestApi\Controller\AccessTokensResourcessTokensResourceController), 'postAction', Object(Symfony\Component\HttpFoundation\Request))
#9 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/Plugin/EventDispatcher/GlueRestControllerListenerEventDispatcherPlugin.php(56): Spryker\Glue\GlueApplication\Plugin\EventDispatcher\GlueRestControllerListenerEventDispatcherPlugin->filter(Object(Sprykeer(Object(Spryker\Glue\AuthRestApi\Controller\AccessTokensResourceController), 'postAction', Object(Symfony\Component\HttpFoundation\Request))
#10 /data/vendor/symfony/http-kernel/HttpKernel.php(163): Spryker\Glue\GlueApplication\Plugin\EventDispatcher\GlueRestControllerListenerEventDispatcherPlugin->Spryker\Glue\GlueApplication\Plugin\EventDispatcher\{closure}()
#11 /data/vendor/symfony/http-kernel/HttpKernel.php(75): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#12 /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(138): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#13 /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php(116): Spryker\Shared\Application\Application->handle(Object(Symfony\Component\HttpFoundation\Request))
#14 /data/vendor/spryker/glue-application/src/Spryker/Glue/GlueApplication/ApiApplication/ApiApplicationProxy.php(107): Spryker\Shared\Application\Application->run()
#15 /data/public/Glue/index.php(20): Spryker\Glue\GlueApplication\ApiApplication\ApiApplicationProxy->run()
#16 {main}<br />
<b>Fatal error</b>: Uncaught ValueError: Path cannot be empty in [no active file]:0
Stack trace:
#0 {main}
thrown in <b>[no active file]</b> on line <b>0</b><br />
elegant-agent-58713
02/13/2023, 2:05 PMhallowed-dentist-19902
02/13/2023, 3:16 PMphp vendor/bin/codecept generate:cest Acceptance MyModule
but only with Zed?bitter-rose-95959
02/13/2023, 9:14 PMboundless-refrigerator-22722
02/14/2023, 9:34 AM{
"path": "assets/%SPRYKER_BUILD_HASH%/%theme%",
"staticPath": "assets/static",
"namespaces": [
{
"codeBucket": "",
"namespace": "",
"themes": [
"green"
],
"defaultTheme": "default"
}
]
}
I then used the command docker/sdk cli npm run yves:watch -t green and got the response:
docker/sdk cli npm run yves:watch -t green
> spryker-b2c-demo-shop@ yves:watch /data
> run-p "yves:watch:* -- {@}" -- "green"
> spryker-b2c-demo-shop@ yves:watch:esm /data
> node ./frontend/build development-watch -m module:esm "green"
> spryker-b2c-demo-shop@ yves:watch:legacy /data
> node ./frontend/build development-watch -m module:legacy "green"
/data/frontend/libs/command-line-parser.js:76
throw new Error(`Command "${args[index]}" is not available`);
^
Error: Command "green" is not available
at isCommand (/data/frontend/libs/command-line-parser.js:76:11)
at /data/frontend/libs/command-line-parser.js:118:21
at Array.forEach (<anonymous>)
at Command.<anonymous> (/data/frontend/libs/command-line-parser.js:110:18)
at Command.listener (/data/node_modules/commander/index.js:360:8)
at Command.emit (events.js:314:20)
at Command.parseArgs (/data/node_modules/commander/index.js:801:12)
at Command.parse (/data/node_modules/commander/index.js:563:21)
at parseCommandLine (/data/frontend/libs/command-line-parser.js:125:10)
at getAttributes (/data/frontend/libs/command-line-parser.js:148:35)
/data/frontend/libs/command-line-parser.js:76
throw new Error(`Command "${args[index]}" is not available`);
^
Error: Command "green" is not available
at isCommand (/data/frontend/libs/command-line-parser.js:76:11)
at /data/frontend/libs/command-line-parser.js:118:21
at Array.forEach (<anonymous>)
at Command.<anonymous> (/data/frontend/libs/command-line-parser.js:110:18)
at Command.listener (/data/node_modules/commander/index.js:360:8)
at Command.emit (events.js:314:20)
at Command.parseArgs (/data/node_modules/commander/index.js:801:12)
at Command.parse (/data/node_modules/commander/index.js:563:21)
at parseCommandLine (/data/frontend/libs/command-line-parser.js:125:10)
at getAttributes (/data/frontend/libs/command-line-parser.js:148:35)
npm ERR! code ELIFECYCLE
npmnpm ERR! errno 1
ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! spryker-b2c-demo-shop@ yves:watch:legacy: `node ./frontend/build development-watch -m module:legacy "green"`
npm ERR! Exit status 1
npm ERR!
npmnpm ERR!ERR! Failed at the spryker-b2c-demo-shop@ yves:watch:legacy script.
npm spryker-b2c-demo-shop@ yves:watch:esm: `node ./frontend/build development-watch -m module:esm "green"`
ERR!npm This is probably not a problem with npm. There is likely additional logging output above.
ERR! Exit status 1
npm ERR!
npm ERR! Failed at the spryker-b2c-demo-shop@ yves:watch:esm script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/spryker/.npm/_logs/2023-02-14T09_02_23_532Z-debug.log
npm ERR! A complete log of this run can be found in:
npm ERR! /home/spryker/.npm/_logs/2023-02-14T09_02_23_533Z-debug.log
ERROR: "yves:watch:legacy -- green" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! spryker-b2c-demo-shop@ yves:watch: `run-p "yves:watch:* -- {@}" -- "green"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the spryker-b2c-demo-shop@ yves:watch script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/spryker/.npm/_logs/2023-02-14T09_02_23_565Z-debug.log
The course: https://academy.spryker.com/learn/course/381/play/3010/spryker-frontend-for-backend-developers
Thanks in Advance.billions-scooter-18241
02/14/2023, 10:32 AMlate-tiger-76201
02/14/2023, 1:05 PM#10 16.10 Host key verification failed.
#10 16.10 fatal: Could not read from remote repository
Access to repositories is locally via terminal possible.
SSH key is provided and added via ssh-agent.nutritious-daybreak-34090
02/15/2023, 2:25 AMfew-address-803
02/15/2023, 4:29 AMancient-apartment-59274
02/15/2023, 12:26 PMechoing-action-91797
02/15/2023, 1:52 PMCSRF token
protection for the search form? 🔍 👀
Doesn’t that make sense? Or was it forgotten?
At least, I don’t see it in the demo-shop: https://www.de.b2c.demo-spryker.com/
stale-battery-68732
02/15/2023, 5:48 PMhallowed-dentist-19902
02/16/2023, 9:38 AMphp vendor/bin/codecept generate:cest acceptance MyModule
hallowed-dentist-19902
02/17/2023, 9:53 AMhallowed-dentist-19902
02/17/2023, 9:53 AMhallowed-dentist-19902
02/17/2023, 9:53 AMmysterious-ambulance-11183
02/17/2023, 10:19 AMdocker/sdk console data:import:my-stuff
I get the following error processing a quite large dataset:
PHP Fatal error: Allowed memory size of 1073741824 bytes exhaustedsteep-rocket-65099
02/17/2023, 10:23 AMastonishing-pencil-74826
02/18/2023, 1:21 PM