limited-plastic-65699
04/21/2022, 1:19 PMgentle-architect-75453
04/22/2022, 8:10 AM$itemTransfer->getIsQuantitySplittable() === false;
it evaluates to false, because '0' is not equal to false.
Does anyone encountered similar behaviour and do you know how to fix it?
changing === to == is not a valid solution in my opinion as this does not solve the actual problem.numerous-kitchen-79937
04/25/2022, 9:26 AMacceptable-sundown-99280
04/26/2022, 8:51 AMdocker/sdk up
it's not creating new stores. seems I am missing something. Can anyone please guide?full-rocket-52349
04/26/2022, 9:09 AMdocker/sdk up
, you need to run docker/sdk bootstrap deploy.yml
.acceptable-sundown-99280
04/27/2022, 10:42 AMSymfony\Component\Console\Exception\NamespaceNotFoundException - Exception: There are no commands defined in the "collector:storage" namespace.
in /data/vendor/symfony/console/Application.php (605)
bright-airport-9052
04/27/2022, 12:47 PMthankful-painter-25078
04/27/2022, 10:21 PMthankful-painter-25078
04/27/2022, 10:22 PMclever-knife-80146
04/28/2022, 4:21 AMacceptable-sundown-99280
04/28/2022, 2:23 PMmysterious-ambulance-11183
04/28/2022, 4:24 PM<?xml version="1.0"?>
<statemachine
xmlns="spryker:oms-01"
xmlns:xsi="<http://www.w3.org/2001/XMLSchema-instance>"
xsi:schemaLocation="spryker:oms-01 <http://static.spryker.com/oms-01.xsd>">
<!-- Used as example XML for OMS implementation -->
<process name="Demo01" main="true">
<states>
<state name="new" />
<state name="unauthorized" />
<state name="paid" />
</states>
<transitions>
<transition condition="Demo/IsAuthorized" happy="true">
<source>new</source>
<target>paid</target>
<event>pay</event>
</transition>
<transition><!-- else -->
<source>new</source>
<target>new</target>
</transition>
</transitions>
<events>
<event name="pay" onEnter="true" command="Demo/SendNotification" />
</events>
</process>
</statemachine>
I can't get it working, that the condition is checked at oms:check-condition
.
Here statemachine is picking up only conditions. that have no event:
https://github.com/spryker/oms/blob/d6cc889a6e846d08e5a423d36d44e41b38cd51ce/src/S[…]pryker/Zed/Oms/Business/OrderStateMachine/OrderStateMachine.php
What I would like to achive is that, that a transition is triggered if condition Demo/IsAuthorized
is met, and then the command Demo/SendNotification
is executed.
Did I get the concept of commands and conditions wrong, that they are not working together or did I just configure something wrong? 🤔ripe-librarian-883
04/29/2022, 11:09 AMnutritious-cpu-80657
04/29/2022, 12:32 PMSELECT *
FROM spy_sales_order sso
LEFT JOIN spy_customer sc ON LOWER(sso.email)=LOWER(sc.email)
WHERE sc.customer_reference != sso.customer_reference
AND sso.email is not null;
Specifically the LOWER()
in the ON
criteria.
new SpySalesOrderQuery())
->addJoin('spy_sales_order.email', 'spy_customer.email', Criteria::LEFT_JOIN)
->where('spy_customer.customer_reference != spy_sales_order.customer_reference')
->where('spy_sales_order.email is not null')
Doesn't appear to allow you to do anything like that 🤔narrow-sundown-20861
04/30/2022, 6:24 PMcomposer dump-autoload
too to ensure the changes are in effect, but it didn't work so far. What am I missing?thankful-jackal-61577
05/01/2022, 7:46 PMgreat-exabyte-82439
05/02/2022, 11:22 AMabundant-terabyte-24591
05/04/2022, 8:20 AMrough-scientist-68683
05/04/2022, 1:57 PMdocker/sdk bootstrap deploy.development.yml
and docker/sdk up
.
It fails with the error you can see on the image. I already found out that the exec 'yarn' 'install'
command fails and executed that by hand to see the output. You can find it in the appended log file.
Does anyone have an idea how I can fix this or what the problem is?acoustic-businessperson-27970
05/05/2022, 12:10 PMancient-apartment-59274
05/05/2022, 2:55 PMDataSetWriterPluginInterface
which takes a DataSetInterface
as a param … the new way seems to be to use the DataSetItemWriterPluginInterface
which uses a DataSetItemTransfer
… i guess, using the DataSetInterface
therefore will also be deprecated? It is not stated as this. I ask because i want to translate a “old” ImportWriterStep to a new dedicated DataSetWriter and struggle to either use the DataSetInterface
(like all other existing do) or use a DataSetItemTransfer
for the write method as an input param.
Best regardspolite-lunch-97479
05/05/2022, 3:21 PMspryker/category
to 5.5.0
and now I'm noticing two issues:
1. The query in vendor/spryker/category/src/Spryker/Zed/Category/Persistence/CategoryRepository.php::getCategoryNodes()
is doing a cross join. I think it's missing a condition to join locales: ->where(SpyUrlTableMap::COL_FK_LOCALE . '=' . SpyCategoryAttributeTableMap::COL_FK_LOCALE)
2. In vendor/spryker/category/src/Spryker/Zed/Category/Persistence/Propel/Mapper/CategoryMapper.php:142
the localized attributes of a category are being loaded via relation. But it's returning only one attribute entity where there should be entities for de_CH, fr_CH, it_CH in my case. As a result, the category nodes aren't complete, which means that they're missing name and url in search result data. Changing $categoryEntity->getAttributes()
to $categoryEntity->getAttributesJoinLocale()
fixes it and returns all attribute entities for all three locales, but I don't understand what makes the difference.
Can anybody confirm?cool-truck-47629
05/05/2022, 9:02 PMstrong-winter-32294
05/06/2022, 8:37 AMpropel:diff
would simply drop the old one and create a new one so all data would be lostfaint-teacher-33864
05/10/2022, 5:35 AMacoustic-businessperson-27970
05/10/2022, 7:17 AMfaint-teacher-33864
05/10/2022, 5:15 PMwooden-king-30682
05/11/2022, 6:02 AM$this->commitIdentical()
was introduced, which is a method of the ActiveRecordBatchProcessorTrait
but only since spryker/propel 3.34.2.
So a patch version (spryker/oms 11.16.1) introduced a breaking change, because the spryker/propel constraint is too loose and to fix this a patch version would need a constrain to another patch version. I'm not sure if the clean solution, to set the right constraint from spryker/oms to spryker/propel is the best approach here, as it looks strange to have a patch version constraint. The alternative would be to revert the change in spryker/oms 11.16.1 and release spryker/oms with a new major including the change and at the same time releasing propel with a new minor on which spryker/oms can depend on.
@fresh-horse-77069 Might see another solution I don't see here.ancient-apartment-59274
05/11/2022, 8:23 AMearly-art-81990
05/11/2022, 1:52 PM