wide-wolf-99519
04/07/2021, 9:48 AMSpryker\Zed\Oms\Business\Exception\LockException - Exception: State machine trigger is locked. Propel exception: Failed to execute insert statement for Orm\Zed\Oms\Persistence\SpyOmsStateMachineLock. Error: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "spy_oms_state_machine_lock-identifier"
enough-byte-77557
04/07/2021, 2:02 PMwide-wolf-99519
04/08/2021, 7:09 AMancient-apartment-59274
04/08/2021, 7:31 AMfamous-ram-83696
04/08/2021, 8:00 AMsparse-fall-78248
04/09/2021, 6:59 AMYVES Exception
Twig\Error\RuntimeError - An exception has been thrown during the rendering of a template ("Field "_token" has already been rendered, save the result of previous render call to a variable and output that instead.").
in /data/vendor/spryker-shop/cart-page/src/SprykerShop/Yves/CartPage/Theme/default/views/remove-from-cart-form/remove-from-cart-form.twig (22)
I've tried commenting out the specified file and that works well, however, of course this can't stay that way. I don't see the field being defined multiple times so I really don't get the issue.
Thanks for any tips.wide-wolf-99519
04/09/2021, 1:15 PMAPPLICATION_STORE=EN oms:check-condition
will conditions be verified only for EN store, or for all stores?
could this command check conditions for other stores?
what will happen if I run
APPLICATION_STORE=EN oms:check-condition --store-name=DE
ancient-apartment-59274
04/12/2021, 1:58 PMThe attribute mechanism is only recommended if the information stored is for display purpose only. As soon as you want to program against it, we recommend extending one of the four tables.What does this exactly mean? As far as i understand: Just for displaying something like color:black, size:5, score:11 … simple key value pairs are meant that gets iterated by its key value in the corresponding template. You have not really control of styling etc since the keys are generic (the expected key can be there but also can be abscent). However, if it is some kind of information that is directly addressed and handled extra in a template (like the “description” field), it should be some extra column in the db, so that its definitely addressable in the template? Is that correct? Another question: what is the recommendation here, saving formatting stuff along the fields? I saw some fields having HTML tags, other not. Like for description etc. especially considering elasticsearch full text search etc. Best regards
ancient-megabyte-55629
04/13/2021, 8:18 AM$config[ApplicationConstants::PROJECT_TIMEZONE] = 'Europe/Berlin';
wide-wolf-99519
04/13/2021, 8:52 AMoms:check-condition
with parameters, it works just fine without them, but once I run oms:check-condition --limit=1
or oms:check-condition --store-name=AT
Im getting
Propel\Runtime\Exception\PropelException - Exception: Error populating \Orm\Zed\Sales\Persistence\SpySalesOrderItem object
did anyone encounter similar problem?echoing-notebook-55206
04/13/2021, 11:13 AMeager-beach-43647
04/13/2021, 12:46 PM<?xml version="1.0" encoding="UTF-8"?>
<Feed>
<Brands>
<Brand>...</Brand>
...
</Brands>
<Categories>
<Category>...</Category>
...
</Categories>
<Products>
<Product>...</Product>
...
</Products>
</Feed>
As you can see I have three different types of objects: Brand, Category and Product.
Is it possible for a pipeline to have multiple read sources? I am trying to follow the Akeneo middleware on spryker-eco by using a PropelCriteriaReadStream to read the brand, category and product info from the database, however I am not sure how to use all three on one single pipeline.important-market-27247
04/14/2021, 6:12 AMwide-wolf-99519
04/14/2021, 8:10 AMclean-glass-99425
04/14/2021, 12:46 PMfromArray()
and toArray()
as this transferObject ins converted. And 4944 other things that didn't have so much impact. And after that the whole data is loaded in the session and bloats the session beyond reasonable usage. So we decided to just do not load this Collection inside of Zed\CompanyRole\Persistence\CompanyRoleRepository::prepareCompanyRoleTransfer
. We did this by inheritance which leaves a bad feeling if there are changes in any later version of spryker. By composition is not an option. Or we could rewrite a lot code paths in the system. So just load the User Collection on demand seemed to be the best option. Any ideas how this could be solved better? My best guess is that the core behaviour should be changed here. But maybe there is even a better solution we didn't guess?billowy-eye-80487
04/15/2021, 7:17 AMrough-scientist-68683
04/16/2021, 1:02 PMItemTransfer
from a SpySalesOrderItem
. The fromArray / toArray
solution doesn't seem to work since the ItemTransfer has many different properties. Or am I using the wrong transfer object for the SpySalesOrderItem?ancient-apartment-59274
04/19/2021, 4:42 PMechoing-notebook-55206
04/20/2021, 7:34 AMdazzling-yacht-89663
04/20/2021, 8:30 AMrhythmic-family-8648
04/20/2021, 3:33 PM/home/spryker/bin/cli.sh: line 17: /home/spryker/env/de.env: No such file or directory
Can someone help me?rhythmic-family-8648
04/20/2021, 4:24 PMERROR: Couldn't find env file: /opt/Work/Spryker/b2c-demo-shop/.env
Can someone help, please?mysterious-king-59256
04/21/2021, 7:39 AMGlossary.translate('my.custom.string', 'EN-us')
worried-chef-16639
04/21/2021, 2:45 PM(imageSet.locale IS NULL or imageSet.locale.idLocale == locale.idLocale)
.great-cpu-16911
04/21/2021, 5:04 PMquick-exabyte-33910
04/22/2021, 9:05 AM$('#example').dataTable( {
"lengthMenu": [ [10, 25, 50, -1], [10, 25, 50, "All"] ]
} );
and export buttons.wide-wolf-99519
04/22/2021, 9:27 AMloud-rainbow-44827
04/22/2021, 11:32 AM[yves_default@error] application error -> Error: action-single-click-enforcer failed to be defined
Failed to execute 'define' on 'CustomElementRegistry': the name "action-single-click-enforcer" has already been used with this registry
I debugged a bit and found that bootstrap function here vendor/spryker-shop/shop-ui/src/SprykerShop/Yves/ShopUi/Theme/default/app/index.ts is calling twice from webpack module. As I see the build configuration was changed here frontend/configs/development.js to babel-loader. Maybe it is connected. Any ideas? thanks
P.S. I'm using legacy modehappy-addition-42792
04/22/2021, 1:32 PMwide-wolf-99519
04/22/2021, 2:18 PM"Propel\Runtime\Exception\PropelException: Cannot insert a value for auto-increment primary key (spy_sales_order_address.id_sales_order_address)"
thrown while using SalesFacade saveSalesOrder?