wide-wolf-99519
02/22/2021, 12:32 PMmysterious-pencil-76046
02/22/2021, 12:52 PMicy-sundown-8018
02/22/2021, 3:57 PMapplication error -> Error: component1 failed to be defined
Failed to execute 'define' on 'CustomElementRegistry': the name "component1" has already been used with this registry
at candidate.ts:53
at Generator.next (<anonymous>)
at asyncGeneratorStep
https://github.com/spryker-shop/shop-ui/blob/master/src/SprykerShop/Yves/ShopUi/Theme/default/app/candidate.ts#L53
Any ideas how we can ensure that the new component is only once submitted as a new candidate?big-lifeguard-33394
02/23/2021, 6:59 AMhappy-addition-42792
02/23/2021, 9:23 AMdocker/sdk build codebase
. After that I get random errors like Error Class 'Generated\Shared\Transfer\RedisConfigurationTransfer' not found
. What I noticed is that after
Section build
Command generate-transfers [vendor/bin/console transfer:generate] (1.31s)
ALL the transfer are properly generated but then as docker/sdk build codebase
continues the same command runs again
Section build-development
Command generate-transfer-databuilders [vendor/bin/console transfer:databuilder:generate] (1.18s)
and some of them are missingstrong-appointment-20631
02/23/2021, 9:29 AMancient-apartment-59274
02/24/2021, 9:05 AMdamp-tailor-13900
02/24/2021, 2:24 PMancient-apartment-59274
02/24/2021, 3:33 PMwooden-dress-65386
02/24/2021, 4:30 PM$sourceState !== $targetState
? 😮mysterious-spring-57104
02/25/2021, 8:32 AMreturn (new MultiMatch())
->setFields([
'attributes.featured',
])
->setQuery($searchString)
->setType(MultiMatch::TYPE_PHRASE);
The searchString would be 1.
https://documentation.spryker.com/docs/boosting-cart-based-searchhappy-addition-42792
02/26/2021, 12:52 PM<table name="spy_tax_rate">
<column name="fk_parent_tax_rate" type="INTEGER" required="false"/>
<foreign-key name="spy_tax_rate-fk_parent_tax_rate" foreignTable="spy_tax_rate" phpName="ParentTaxRate" refPhpName="ChildTaxRate">
<reference local="fk_parent_tax_rate" foreign="id_tax_rate"/>
</foreign-key>
</table>
creates a one-to-many relationship.happy-addition-42792
03/01/2021, 11:49 AMPlaceOrderWithAmountUpToPermissionPlugin
permission which comes from the CompanyRule package. Is there any way we can enable B2C customers to purchase in a B2B shop?calm-family-20079
03/01/2021, 4:44 PMnumerous-ghost-43588
03/02/2021, 5:41 AMmammoth-painting-63509
03/02/2021, 9:16 AMOutputStreamPlugin
and use that same generated name in a PostProcessorHookPlugin
in the Middleware?plain-orange-13157
03/02/2021, 12:44 PMStore: CH | Environment: devlocal
Build propel models
You are running propel with xdebug enabled. This has a major impact on runtime performance.
Fatal error: require(): Failed opening required 'APPLICATION_ROOT_DIR/config/Shared/stores.php' (include_path='/srv/xyz/spryker/vendor/spryker/event-behavior/src:/srv/xyz/spryker/vendor/spryker/synchronization-behavior/src:.:/usr/local/lib/php') in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 162
Call Stack:
0.0006 349840 1. {main}() /srv/xyz/spryker/vendor/propel/propel/bin/propel:0
0.0007 350592 2. require('/srv/xyz/spryker/vendor/propel/propel/bin/propel.php') /srv/xyz/spryker/vendor/propel/propel/bin/propel:4
0.0821 867824 3. Propel\Generator\Application->run() /srv/xyz/spryker/vendor/propel/propel/bin/propel.php:30
0.0902 956528 4. Propel\Generator\Application->doRun() /srv/xyz/spryker/vendor/symfony/console/Application.php:148
0.0903 957032 5. Propel\Generator\Application->doRun() /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Application.php:17
0.0909 961728 6. Propel\Generator\Application->doRunCommand() /srv/xyz/spryker/vendor/symfony/console/Application.php:255
0.0910 961728 7. Propel\Generator\Command\ModelBuildCommand->run() /srv/xyz/spryker/vendor/symfony/console/Application.php:992
0.0914 964776 8. Propel\Generator\Command\ModelBuildCommand->execute() /srv/xyz/spryker/vendor/symfony/console/Command/Command.php:255
0.1177 2344856 9. Propel\Generator\Manager\ModelManager->build() /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Command/ModelBuildCommand.php:133
0.1177 2344856 10. Propel\Generator\Manager\ModelManager->getDataModels() /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Manager/ModelManager.php:45
0.1177 2344856 11. Propel\Generator\Manager\ModelManager->loadDataModels() /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Manager/AbstractManager.php:151
0.5639 7968328 12. Propel\Generator\Model\Schema->doFinalInitialization() /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Manager/AbstractManager.php:338
0.5639 7968328 13. Propel\Generator\Model\Database->doFinalInitialization() /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Model/Schema.php:247
0.6044 8159304 14. Spryker\Zed\SynchronizationBehavior\Persistence\Propel\Behavior\SynchronizationBehavior->modifyTable() /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Model/Database.php:811
0.6048 8161840 15. Spryker\Zed\SynchronizationBehavior\Persistence\Propel\Behavior\SynchronizationBehavior->shouldAddAliasKeysColumn() /srv/xyz/spryker/vendor/spryker/synchronization-behavior/src/Spryker/Zed/SynchronizationBehavior/Persistence/Propel/Behavior/SynchronizationBehavior.php:201
0.6048 8161840 16. Spryker\Zed\SynchronizationBehavior\Persistence\Propel\Behavior\SynchronizationBehavior->getConfig() /srv/xyz/spryker/vendor/spryker/synchronization-behavior/src/Spryker/Zed/SynchronizationBehavior/Persistence/Propel/Behavior/SynchronizationBehavior.php:1111
0.6048 8161840 17. Spryker\Zed\SynchronizationBehavior\Persistence\Propel\Behavior\SynchronizationBehavior->resolveBundleConfig() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Zed/Kernel/BundleConfigResolverAwareTrait.php:38
0.6053 8165680 18. Spryker\Zed\Kernel\ClassResolver\Config\BundleConfigResolver->resolve() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Zed/Kernel/BundleConfigResolverAwareTrait.php:50
0.6058 8168016 19. Spryker\Zed\Kernel\ClassResolver\Config\BundleConfigResolver->canResolve() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Zed/Kernel/ClassResolver/Config/BundleConfigResolver.php:26
0.6059 8168208 20. Spryker\Zed\Kernel\ClassResolver\Config\BundleConfigResolver->buildClassNames() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/ClassResolver/AbstractClassResolver.php:84
0.6059 8168208 21. Spryker\Zed\Kernel\ClassResolver\Config\BundleConfigResolver->addProjectClassNames() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/ClassResolver/AbstractClassResolver.php:155
0.6062 8168320 22. Spryker\Shared\Kernel\Store::getInstance() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/ClassResolver/AbstractClassResolver.php:168
0.6062 8168608 23. Spryker\Shared\Kernel\Store->__construct() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php:111
0.6064 8168656 24. Spryker\Shared\Kernel\Store->initializeSetup() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php:132
0.6064 8168656 25. Spryker\Shared\Kernel\Store->getStoreSetup() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php:180
plain-orange-13157
03/02/2021, 12:44 PMphp:7.4-fpm-alpine3.12
"name": "spryker/kernel",
"version": "3.34.0",
"name": "spryker/glue-application",
"version": "1.26.1",
"name": "spryker/categories-rest-api",
"version": "1.5.0",
There are no dependency problems while installing the glue-application and the categories-rest-api. If I run "`propel:install`" or more specific "`propelmodelbuild`" I get some errors.
It seems there is a problem with APPLICATION_ENV
, APPLICATION_STORE
and APPLICATION_ROOT_DIR
. If I debug the "`propelmodelbuild`" command APPLICATION_STORE
= 'APPLICATION_STORE' for example. If I remove the categories-rest-api module everything works. So the glue-application module seems to work.
We use Touch Tables and not the event-based Publish and Sync. Any ideas?
Store: CH | Environment: devlocal
Build propel models
Deprecated: Array and string offset access syntax with curly braces is deprecated in /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Builder/Util/SchemaReader.php on line 190
PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Builder/Util/SchemaReader.php on line 190
Warning: Use of undefined constant APPLICATION_ENV - assumed 'APPLICATION_ENV' (this will throw an Error in a future version of PHP) in /srv/xyz/spryker/vendor/spryker/config/src/Spryker/Shared/Config/Environment.php on line 97
PHP Warning: Use of undefined constant APPLICATION_ENV - assumed 'APPLICATION_ENV' (this will throw an Error in a future version of PHP) in /srv/xyz/spryker/vendor/spryker/config/src/Spryker/Shared/Config/Environment.php on line 97
Warning: Use of undefined constant APPLICATION_STORE - assumed 'APPLICATION_STORE' (this will throw an Error in a future version of PHP) in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 131
Warning: Use of undefined constant APPLICATION_ROOT_DIR - assumed 'APPLICATION_ROOT_DIR' (this will throw an Error in a future version of PHP) in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 162
PHP Warning: Use of undefined constant APPLICATION_STORE - assumed 'APPLICATION_STORE' (this will throw an Error in a future version of PHP) in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 131
PHP Warning: Use of undefined constant APPLICATION_ROOT_DIR - assumed 'APPLICATION_ROOT_DIR' (this will throw an Error in a future version of PHP) in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 162
Warning: require(APPLICATION_ROOT_DIR/config/Shared/stores.php): failed to open stream: No such file or directory in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 162
Fatal error: require(): Failed opening required 'APPLICATION_ROOT_DIR/config/Shared/stores.php' (include_path='/srv/xyz/spryker/vendor/spryker/event-behavior/src:/srv/xyz/spryker/vendor/spryker/synchronization-behavior/src:.:/usr/local/lib/php') in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 162
PHP Warning: require(APPLICATION_ROOT_DIR/config/Shared/stores.php): failed to open stream: No such file or directory in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 162
PHP Fatal error: require(): Failed opening required 'APPLICATION_ROOT_DIR/config/Shared/stores.php' (include_path='/srv/xyz/spryker/vendor/spryker/event-behavior/src:/srv/xyz/spryker/vendor/spryker/synchronization-behavior/src:.:/usr/local/lib/php') in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 162
astonishing-lamp-41374
03/03/2021, 12:13 AM/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Business/Process/Processor.php
this is where it throws, so there must be some configuration that it is aware of, question is, what is it looking for exactly?astonishing-lamp-41374
03/03/2021, 12:13 AM{
"@timestamp": "2021-03-03T00:00:58.637524+00:00",
"@version": 1,
"host": "b6faa09ba9b5",
"message": "Middleware process was stopped. Non tolerable error was occurred.",
"type": "ZED",
"channel": "SprykerMiddleware",
"level": "ERROR",
"monolog_level": 400,
"extra": {
"file": "/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Business/Process/Processor.php",
"line": 126,
"class": "SprykerMiddleware\\Zed\\Process\\Business\\Process\\Processor",
"function": "process"
},
"context": {
"exception": {
"class": "Spryker\\Zed\\DataImport\\Business\\Exception\\DataSetBrokerTransactionFailedException",
"message": "The key \"name.de_DE\" was not found in data set. Available keys: \"concrete_sku, abstract_sku, name, attributes, locales\"",
"code": 0,
"file": "/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataSet/DataSetStepBrokerTransactionAware.php:59",
"trace": [
"/data/src/Pyz/Zed/DataImport/Business/Importer/ProductConcreteDataImporter.php:55",
"/data/src/Pyz/Zed/DataImport/Business/DataImportFacade.php:225",
"/data/src/Pyz/Zed/DataImport/Communication/Plugin/ExampleProductMiddlewareConnector/ExampleProductImporterPlugin.php:22",
"/data/src/Pyz/Zed/ExampleProductMiddlewareConnector/Business/Stream/DataImportWriteStream.php:92",
"/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Business/Process/Processor.php:123",
"/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Business/ProcessFacade.php:166",
"/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Communication/Console/ProcessConsole.php:180",
"/data/vendor/symfony/console/Command/Command.php:255",
"/data/vendor/symfony/console/Application.php:1018",
"/data/vendor/symfony/console/Application.php:271",
"/data/vendor/spryker/console/src/Spryker/Zed/Console/Communication/Bootstrap/ConsoleBootstrap.php:110",
"/data/vendor/symfony/console/Application.php:147",
"/data/vendor/spryker/console/bin/console:27"
],
"previous": {
"class": "Spryker\\Zed\\DataImport\\Business\\Exception\\DataKeyNotFoundInDataSetException",
"message": "The key \"name.de_DE\" was not found in data set. Available keys: \"concrete_sku, abstract_sku, name, attributes, locales\"",
"code": 0,
"file": "/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataSet/DataSet.php:25",
"trace": [
"/data/src/Pyz/Zed/DataImport/Business/Model/Product/ProductLocalizedAttributesExtractorStep.php:63",
"/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataSet/DataSetStepBroker.php:46",
"/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataSet/DataSetStepBrokerTransactionAware.php:54",
"/data/src/Pyz/Zed/DataImport/Business/Importer/ProductConcreteDataImporter.php:55",
"/data/src/Pyz/Zed/DataImport/Business/DataImportFacade.php:225",
"/data/src/Pyz/Zed/DataImport/Communication/Plugin/ExampleProductMiddlewareConnector/ExampleProductImporterPlugin.php:22",
"/data/src/Pyz/Zed/ExampleProductMiddlewareConnector/Business/Stream/DataImportWriteStream.php:92",
"/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Business/Process/Processor.php:123",
"/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Business/ProcessFacade.php:166",
"/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Communication/Console/ProcessConsole.php:180",
"/data/vendor/symfony/console/Command/Command.php:255",
"/data/vendor/symfony/console/Application.php:1018",
"/data/vendor/symfony/console/Application.php:271",
"/data/vendor/spryker/console/src/Spryker/Zed/Console/Communication/Bootstrap/ConsoleBootstrap.php:110",
"/data/vendor/symfony/console/Application.php:147",
"/data/vendor/spryker/console/bin/console:27"
]
}
},
"item": {
"SprykerMiddleware\\Zed\\Process\\Business\\Stream\\XmlReadStream": []
}
}
}
astonishing-lamp-41374
03/03/2021, 12:13 AMmysterious-king-59256
03/03/2021, 11:54 AMwitty-jordan-77597
03/03/2021, 5:49 PM{% extends model('component') %}
{% import model('component') as component %}
when do we use this import?polite-lunch-97479
03/04/2021, 4:23 PMSprykerTest\Shared\Sales\Helper\SalesDataHelper->haveOrderFromQuote()
to create a test order. Seems to work basically, but I'm running into issues when using custom pre save plugins.
In Pyz\Zed\Sales\SalesDependencyProvider->getOrderItemExpanderPreSavePlugins()
there is a plugin which is located in a different module (ProductAttribute). The plugin itself is calling a function from its module's facade, of course.
When executing the test, it dies telling me that the facade function doesn't exist. This is because the test uses the ProductAttributeFacade from core, not the one on project level.
Any idea what's going wrong here?fresh-tent-43300
03/05/2021, 7:33 AMbrave-refrigerator-68851
03/05/2021, 9:08 AMblue-continent-9575
03/05/2021, 9:50 AMUncaught Error: Cannot find module 'get-root-node-polyfill/is-implemented'
webpackMissingModule commons.js:12
js commons.js:12
Webpack 6
__webpack_require__
js
__webpack_require__
checkDeferredModules
<anonymous>
<anonymous>
commons.js:12:28
Uncaught TypeError: can't access property "ext", $.fn.dataTable is undefined
setTableErrorMode data-table.js:32
js init.js:59
jQuery 13
Webpack 8
data-table.js:32
jolly-night-88032
03/05/2021, 12:07 PMancient-apartment-59274
03/05/2021, 5:35 PMunsetCachedKey
after performing the storage write operation? I would really like to avoid tons of custom classes just because of a missing ->unsetCachedKey()
call, since both places are spryker core code. 😉
Thanks and have a nice weekendimportant-market-27247
03/07/2021, 7:45 PM