most-rain-24014
01/21/2022, 10:36 AMoms:check-timeout
command run, some items of an order change state whereas others in the same order only do in the next timeout check execution. Even stranger, the items transitioning last are those with lower Item-ID, hence the items that have been inserted into the database first. To our understanding, all items should transition to the next state in a single batch, since sharing the same process and source state, waiting for the same timeout and not being restricted by a condition or by-item command that would hinder an individual itemās progress in the state machine.
Did anyone else experience said issue of unintentionally split OMS transactions and know its cause? We already ruled out OMS misconfiguration regarding the OmsConfig::getCheckTimeoutsQueryLimit
, which is set to null
in our application, and are only relying on standard Spryker OMS features in the state where the split occurs (OMS Package Version 11.15.2). As a result, we consider there might be a bug in current OMS package regarding the timeout mechanism, where the evaluated timeout elapse checks may yield different results for individual items of the same transition batch, thus only allowing some of the items to advance.miniature-garden-96460
01/21/2022, 11:17 AMancient-apartment-59274
01/21/2022, 1:37 PMastonishing-vase-86417
01/24/2022, 9:44 AMkind-knife-20866
01/24/2022, 12:31 PMrfc7516
. Just wondering if anyone has had to do something similar?best-furniture-89489
01/26/2022, 6:10 AMnumerous-notebook-85587
01/26/2022, 7:48 AMcalm-france-15664
01/26/2022, 9:41 AM{
"errors": [
{
"status": 404,
"detail": "Not Found"
}
]
}
Have someone an idea what the problem is.
Zed backoffice, yves fronted work normalancient-apartment-59274
01/26/2022, 10:01 AMIf bundled items have quantity > 1 then it will be split as separate items in cart.Is there a (built in/easy) way to prevent this behaviour and āgroupā the items instead? Background: we run into performance issues wenn dealing with higher bundle quantities ⦠for example a bundle with 10 items bought in quantity of 800 = 8000 items ⦠4000 bytes json data for each item in the cart results in 4000 B * 8000 ~ 32 MB cart size which is not really manageable anymore ⦠Best regards
enough-byte-77557
01/26/2022, 12:29 PMaloof-advantage-27856
01/27/2022, 8:35 AMpolite-lunch-97479
01/27/2022, 3:47 PMcalm-controller-74059
01/27/2022, 7:08 PMcalm-controller-74059
01/28/2022, 11:14 PMmelodic-machine-2956
01/31/2022, 10:26 AMmelodic-machine-2956
01/31/2022, 10:26 AMflaky-afternoon-98068
01/31/2022, 5:04 PMrefined-printer-19597
02/01/2022, 11:59 AMmelodic-machine-2956
02/03/2022, 3:14 PMhallowed-carpet-44433
02/03/2022, 4:21 PMmysterious-ambulance-11183
02/04/2022, 9:32 AM{
"write": {
"key": "cms_page:de:de_de:1",
"value": {
"is-active": true,
"store": "DE",
"locale": "de_DE",
"type": "cms_page",
"search-result-data": {
"id_cms_page": 1,
"name": "Impressum",
"type": "cms_page",
"url": "/de/impressum"
},
"active-from": null,
"active-to": null,
"full-text-boosted": [
"Impressum"
],
"full-text": [
"Impressum",
"Impressum",
"Impressum",
"Long text"
],
"suggestion-terms": [
"Impressum"
],
"completion-terms": [
"Impressum"
],
"string-sort": {
"name": "Impressum"
},
"_timestamp": 1643960230.63474
},
"resource": "cms_page",
"params": {
"type": "page"
}
},
"errorMessage": "Error in one or more bulk request actions:\n\nindex: /nwz_shop_de_page/_doc/cms_page:de:de_de:1 caused unknown parameter [analyzer] on mapper [name] of type [keyword]\nindex: /nwz_shop_de_page/_doc/cms_page:de:en_us:1 caused unknown parameter [analyzer] on mapper [name] of type [keyword]\nindex: /nwz_shop_de_page/_doc/cms_page:de:de_de:2 caused unknown parameter [analyzer] on mapper [name] of type [keyword]\nindex: /nwz_shop_de_page/_doc/cms_page:de:en_us:2 caused unknown parameter [analyzer] on mapper [name] of type [keyword]\nindex: /nwz_shop_de_page/_doc/cms_page:de:de_de:3 caused unknown parameter [analyzer] on mapper [name] of type [keyword]\nindex: /nwz_shop_de_page/_doc/cms_page:de:en_us:3 caused unknown parameter [analyzer] on mapper [name] of type [keyword]\nindex: /nwz_shop_de_page/_doc/cms_page:de:de_de:4 caused unknown parameter [analyzer] on mapper [name] of type [keyword]\nindex: /nwz_shop_de_page/_doc/cms_page:de:en_us:4 caused unknown parameter [analyzer] on mapper [name] of type [keyword]\nindex: /nwz_shop_de_page/_doc/cms_page:de:de_de:5 caused unknown parameter [analyzer] on mapper [name] of type [keyword]\nindex: /nwz_shop_de_page/_doc/cms_page:de:en_us:5 caused unknown parameter [analyzer] on mapper [name] of type [keyword]\nindex: /nwz_shop_de_page/_doc/cms_page:de:de_de:6 caused unknown parameter [analyzer] on mapper [name] of type [keyword]\nindex: /nwz_shop_de_page/_doc/cms_page:de:en_us:6 caused unknown parameter [analyzer] on mapper [name] of type [keyword]\n"
}
numerous-kitchen-79937
02/04/2022, 10:28 AMmysterious-ambulance-11183
02/04/2022, 12:07 PMZed.CRITICAL: Error - Class 'Orm\Zed\PublishAndSynchronizeHealthCheck\Persistence\PublishAndSynchronizeHealthCheckQuery' not found in "/data/vendor/spryker/publish-and-synchronize-health-check/src/Spryker/Zed/PublishAndSynchronizeHealthCheck/Persistence/PublishAndSynchronizeHealthCheckPersistenceFactory.php::26" {
"exception":"[object] (Error(code: 0): Class 'Orm\\Zed\\PublishAndSynchronizeHealthCheck\\Persistence\\PublishAndSynchronizeHealthCheckQuery' not found at /data/vendor/spryker/publish-and-synchronize-health-check/src/Spryker/Zed/PublishAndSynchronizeHealthCheck/Persistence/PublishAndSynchronizeHealthCheckPersistenceFactory.php:26)
The same error occurs on local when you try:
http://backoffice.de.spryker.local/health-check
The issue seems to be resolved in this class:
https://github.com/spryker/publish-and-synchronize-health-check/blob/db85c08ed1825[ā¦]sistence/PublishAndSynchronizeHealthCheckPersistenceFactory.php
But not yet released (although fix June last year).
When can one expect a release here? What are the office way to ask for such a release?sparse-fall-78248
02/04/2022, 1:29 PMripe-librarian-883
02/04/2022, 1:36 PMwonderful-dream-6555
02/08/2022, 9:57 AMCommand build-request-validation-cache [vendor/bin/console glue:rest:build-request-validation-cache] (In progress...)
Last console output before:
Section codebase-update Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā
Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā
Command composer-install [/usr/bin/composer install --no-scripts --optimize-autoloader] (66.05s)
Command refresh-database-loader-file [find -type f -name 'loadDatabase.php' -delete && vendor/bin/console propel:model:build] (25.67s)
Command generate-transfers [vendor/bin/console transfer:generate] (15.71s)
Command generate-transfer-databuilders [vendor/bin/console transfer:databuilder:generate] (3.53s)
Command propel-copy-schema for FOO store [vendor/bin/console propel:schema:copy] (2.56s)
Command propel-build [vendor/bin/console propel:model:build] (21.34s)
Command generate-entity-transfers for FOO store [vendor/bin/console transfer:entity:generate] (9.86s)
Command setup-search for FOO store [vendor/bin/console search:setup] (2.57s)
Command setup-search-source-map for FOO store [vendor/bin/console search:setup:source-map] (2.01s)
Command clear-cache for FOO store [vendor/bin/console cache:empty-all] (1.8s)
Command generate-ide-auto-completion for FOO store [vendor/bin/console dev:ide:generate-auto-completion] (7.48s)
Command navigation-cache-warmup [vendor/bin/console navigation:build-cache] (2.65s)
Command build-router-cache-zed for FOO store [vendor/bin/console router:cache:warm-up] (3.96s)
Command build-request-validation-cache [vendor/bin/console glue:rest:build-request-validation-cache] (In progress...)
Error Message:
Propel\Runtime\Connection\Exception\ConnectionException - Exception: Unable to open connectionĀ
in /data/vendor/propel/propel/src/Propel/Runtime/Connection/ConnectionFactory.php (42)
Command: vendor/bin/console glue:rest:build-request-validation-cache
Trace:Ā
#0 /data/vendor/propel/propel/src/Propel/Runtime/Connection/ConnectionManagerPrimaryReplica.php(149): Propel\Runtime\Connection\ConnectionFactory::create(Array, Object(Propel\Runtime\Adapter\Pdo\PgsqlAdapter))
#1 /data/vendor/propel/propel/src/Propel/Runtime/Connection/ConnectionManagerPrimaryReplica.php(177): Propel\Runtime\Connection\ConnectionManagerPrimaryReplica->getWriteConnection(Object(Propel\Runtime\Adapter\Pdo\PgsqlAdapter))
#2 /data/vendor/propel/propel/src/Propel/Runtime/ServiceContainer/StandardServiceContainer.php(444): Propel\Runtime\Connection\ConnectionManagerPrimaryReplica->getReadConnection(Object(Propel\Runtime\Adapter\Pdo\PgsqlAdapter))
#3 /data/vendor/propel/propel/src/Propel/Runtime/ActiveQuery/ModelCriteria.php(1238): Propel\Runtime\ServiceContainer\StandardServiceContainer->getReadConnection('zed')
#4 /data/vendor/spryker/store/src/Spryker/Zed/Store/Persistence/StoreRepository.php(41): Propel\Runtime\ActiveQuery\ModelCriteria->find()
#5 /data/vendor/spryker/store/src/Spryker/Zed/Store/Business/Model/StoreReader.php(206): Spryker\Zed\Store\Persistence\StoreRepository->getStoreTransfersByStoreNames(Array)
#6 /data/vendor/spryker/store/src/Spryker/Zed/Store/Business/Model/StoreReader.php(80): Spryker\Zed\Store\Business\Model\StoreReader->getStoreTransfersByStoreNames(Array)
#7 /data/vendor/spryker/store/src/Spryker/Zed/Store/Business/StoreFacade.php(42): Spryker\Zed\Store\Business\Model\StoreReader->getAllStores()
#8 /data/vendor/spryker/rest-request-validator/src/Spryker/Zed/RestRequestValidator/Dependency/Facade/RestRequestValidatorToStoreFacadeBridge.php(30): Spryker\Zed\Store\Business\StoreFacade->getAllStores()
#9 /data/vendor/spryker/rest-request-validator/src/Spryker/Zed/RestRequestValidator/Business/Builder/RestRequestValidatorCacheBuilder.php(68): Spryker\Zed\RestRequestValidator\Dependency\Facade\RestRequestValidatorToStoreFacadeBridge->getAllStores()
#10 /data/vendor/spryker/rest-request-validator/src/Spryker/Zed/RestRequestValidator/Business/RestRequestValidatorFacade.php(29): Spryker\Zed\RestRequestValidator\Business\Builder\RestRequestValidatorCacheBuilder->build()
#11 /data/vendor/spryker/rest-request-validator/src/Spryker/Zed/RestRequestValidator/Communication/Console/BuildValidationCacheConsole.php(51): Spryker\Zed\RestRequestValidator\Business\RestRequestValidatorFacade->buildValidationCache()
#12 /data/vendor/symfony/console/Command/Command.php(298): Spryker\Zed\RestRequestValidator\Communication\Console\BuildValidationCacheConsole->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /data/vendor/symfony/console/Application.php(1033): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /data/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand(Object(Spryker\Zed\RestRequestValidator\Communication\Console\BuildValidationCacheConsole), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /data/vendor/spryker/console/src/Spryker/Zed/Console/Communication/Bootstrap/ConsoleBootstrap.php(111): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /data/vendor/symfony/console/Application.php(171): Spryker\Zed\Console\Communication\Bootstrap\ConsoleBootstrap->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /data/vendor/spryker/console/bin/console(27): Symfony\Component\Console\Application->run()
#18 {main}
In CommandLineExecutable.php line 107:
Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā Ā
Ā Aborted install...
Is there a way to fix this?quiet-umbrella-24316
02/08/2022, 4:22 PMus store is not defined
when visiting zed
2. What is the quickest way to export our custom data after manual upload of images / adding products to the shop via the interface to csv
so we can recreate the setup with our custom data?
Thanks for your input!wonderful-intern-36299
02/08/2022, 5:48 PMsrc/Generated/Yves/Twig/codeBucket/.pathCache
(which could then get corrupt temporarily).
This file is prefilled by the twig cache warmer and contains most Yves twig files. However, we found out that not all files are contained, for example twig files which are located in a Shared
module namespace, or some vendor twig files. Furthermore, some cache keys appear to be wrong. For example (first b2c demo shop home page request with warmed cache out of the box):
diff
'@Pyz:ShopUi/components/atoms/icon-sprite/icon-sprite.twig' => '/data/src/Pyz/Yves/ShopUi/Theme/default/components/atoms/icon-sprite/icon-sprite.twig',
+ '@@SprykerShop:ShopUi/templates/page-layout-main/page-layout-main.twig' => '/data/vendor/spryker-shop/shop-ui/src/SprykerShop/Yves/ShopUi/Theme/default/templates/page-layout-main/page-layout-main.twig',
+ '@@SprykerShop:ShopUi/templates/page-blank/page-blank.twig' => '/data/vendor/spryker-shop/shop-ui/src/SprykerShop/Yves/ShopUi/Theme/default/templates/page-blank/page-blank.twig',
+ '@CmsBlock/template/navigation_block.twig' => '/data/src/Pyz/Shared/CmsBlock/Theme/default/template/navigation_block.twig',
[...]
As a result, we'd be happy to know:
1. Will there be a fix to warm up the cache with all twig files located inside the project?
2. Will the wrong cache keys (e.g. see [1], [2]; the result is a @@
prefix) be fixed? According to [3], the @
char is automatically prepended.
Regarding the race conditions itself:
1. Is it a known issue that the .pathCache
file can get corrupted during concurrent file writes?
2. The creation of a directory may also fail with a warning which is "converted" to an ErrorException by the default error handler (ErrorHandlerEnvironment::setErrorHandler()
).
FYI: Our current solution is to enhance the cache warmer by custom template name builders and introduce exception handling to the twig FilesystemCache.
Thanks! :)
[1] https://github.com/spryker-shop/b2c-demo-shop/blob/202108.0-p1/src/Pyz/Yves/ShopUi/Theme/default/components/molecules/cart-counter/cart-counter.twig#L1
[2] https://github.com/spryker-shop/b2c-demo-shop/blob/202108.0-p1/src/Pyz/Yves/AgentPage/Theme/default/components/molecules/agent-navigation/agent-navigation.twig#L1
[3] https://docs.spryker.com/docs/scos/dev/front-end-development/yves/custom-twig-functions-for-yves.htmlaloof-doctor-18410
02/08/2022, 8:21 PMrough-scientist-68683
02/09/2022, 12:55 PMSpryker\Service\Container\Exception\NotFoundException - The requested service "kernel" was not found in the container
. So far, I didn't find a solution. Did anyone else have this issue and was already able to solve it? If so, do you have a tip for me?