faint-telephone-28637
06/30/2023, 11:21 AMfreezing-guitar-75665
06/30/2023, 11:36 AMcool-dawn-43386
06/30/2023, 12:02 PMacoustic-terabyte-93857
07/01/2023, 11:23 AMacoustic-terabyte-93857
07/01/2023, 11:23 AMacoustic-terabyte-93857
07/01/2023, 11:24 AMacoustic-terabyte-93857
07/01/2023, 11:24 AMacoustic-terabyte-93857
07/01/2023, 11:27 AMacoustic-terabyte-93857
07/01/2023, 11:28 AMacoustic-terabyte-93857
07/01/2023, 11:29 AMacoustic-terabyte-93857
07/01/2023, 11:29 AMacoustic-terabyte-93857
07/01/2023, 11:30 AMacoustic-terabyte-93857
07/01/2023, 11:30 AMacoustic-terabyte-93857
07/01/2023, 3:13 PMnginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /etc/nginx/conf.d/default.conf:1481
2023/07/01 14:49:19 [emerg] 1#1: socket() [::]:80 failed (97: Address family not supported by protocol)
acoustic-terabyte-93857
07/02/2023, 5:08 AMacoustic-terabyte-93857
07/02/2023, 5:08 AMcool-dawn-43386
07/03/2023, 7:08 AMrich-guitar-29888
07/03/2023, 12:24 PMcalm-toddler-60539
07/03/2023, 2:14 PMprehistoric-actor-16607
07/03/2023, 2:15 PM// Pyz\Client\Training\Stub\TrainingStub.php
public function getAllAntelope(): AntelopeCollectionTransfer
{
/** @var \Generated\Shared\Transfer\AntelopeCollectionTransfer $antelopeCollectionTransfer */
$antelopeCollectionTransfer = $this->zedRequestClient->call('/training/gateway/get-all-antelopes', new AntelopeCollectionTransfer());
return $antelopeCollectionTransfer;
}
But the second argument of ZedRequestClientInterface->call()
wants a TransferInterface
what is the design purpoise behind this?
There are cases where I just want to fetch Information from a Zed Controller without sending criteria Objects or other Parameters at all.
With that sad it seems to be that under the hood ZedRequestClientInterface->call(...)
translates into an internal POST
requests ?
My Zed-Gateway Controller looks like this btw:
// Pyz\Zed\Training\Communication\Controller\GatewayController.php
public function getAllAntelopesAction() :AntelopeCollectionTransfer
{
return $this->getFacade()
->getAntelopes();
}
cool-dawn-43386
07/03/2023, 3:56 PMprotected function isMerchantRelationshipItem(ItemTransfer $itemTransfer): bool
{
return $itemTransfer->getPriceProduct() &&
$itemTransfer->getPriceProduct()->getPriceDimension() &&
$itemTransfer->getPriceProduct()->getPriceDimension()->getIdMerchantRelationship();
}
It should be fine if i can understand better what's happening here, if you have a link to some consistent documentation, I can deal with.
Have a great evening.acoustic-terabyte-93857
07/04/2023, 4:13 AMWelcome, my name is Spryker Jarvis. Today I will help you to migrate your Spryker project!
As part of my services, I will store your composer.json and composer.lock files.
Those will allow my colleagues at Spryker to provide better tooling and support in the future.
If you do not agree with this, please hit Cmd + c or Ctr + c to cancel my services.
Welcome back project b2c-demo-shop! I hope your project is not too outdated...
First let me check if my information about Spryker Features and Modules are up to date.
No, they are not. Let me refresh them. This is take less than 1 minute I hope...
I am sorry to announce that something went wrong, I could not retrieve any information from Spryker...
Please verify that you are connected to the Internet. If yes, please send an email to <mailto:support@spryker.com|support@spryker.com> to notify them that you could not use my services today.
hallowed-eye-69242
07/04/2023, 8:36 AM202009.0
. Previously everything was fine.
My last task was to extend product-discontinued
module to have store relation so product can be discontinued for one store only.
As I introduced new spy_product_discontinued_store
table, I created two new listeners, that publish or unpublish when there are changes in this store.
This listeners doesn't extend core listeners.
Locally everything work perfectly, but on staging it works time-to-time. Once it works, next time it fails with an error: "errorMessage":"Message body is not valid"
.
If I trigger listeners with console event:trigger:listener
I have no problem, everything works fine.
I have found this message in EventQueueConsumer
and we have it, when listener or EventEntityTransfer
is missing. But, as I see in rabbitMQ message, both listenerClassName
and transferClassName
are set and they definitely exist.
And, as I said previously, it works randomly - sometimes works, sometimes - not.
I have no idea how to debug it or what else I can do.
Any ideas? Thank you in advance.rich-guitar-29888
07/05/2023, 5:32 AMmodern-orange-68429
07/05/2023, 12:32 PM/security-gui/login
which does not work in local environment.
Has anyone seen this issue before?fancy-mechanic-82782
07/06/2023, 8:57 AMlittle-island-16971
07/06/2023, 1:17 PMcode:sniff:style
and code:sniff:architecture
are working well. But when I run phpstan I have some errors that I think it should not be there. For instance in the following file from the b2b-demo-shop https://github.com/spryker-shop/b2b-demo-shop/blob/master/src/Pyz/Zed/CustomerAccess/Persistence/CustomerAccessRepository.php phpstan shows the following errors
Line Pyz/Zed/CustomerAccess/Persistence/CustomerAccessRepository.php
------ ----------------------------------------------------------------------------------------------------------------------
52 Parameter #1 $customerAccessEntities of method
Pyz\Zed\CustomerAccess\Persistence\Propel\Mapper\CustomerAccessMapper::mapEntitiesToCustomerAccessTransfer() expects
Propel\Runtime\Collection\ObjectCollection, Propel\Runtime\Collection\Collection given.
67 Parameter #1 $customerAccessEntities of method
Pyz\Zed\CustomerAccess\Persistence\Propel\Mapper\CustomerAccessMapper::mapEntitiesToCustomerAccessTransfer() expects
Propel\Runtime\Collection\ObjectCollection, Propel\Runtime\Collection\Collection given.
82 Parameter #1 $customerAccessEntities of method
Pyz\Zed\CustomerAccess\Persistence\Propel\Mapper\CustomerAccessMapper::mapEntitiesToCustomerAccessTransfer() expects
Propel\Runtime\Collection\ObjectCollection, Propel\Runtime\Collection\Collection given.
------ ----------------------------------------------------------------------------------------------------------------------
This is the code for the first error, the others are because of the same:
$unauthenticatedCustomerAccessEntity = $this->getFactory()
->getPyzUnauthenticatedCustomerAccessQuery()
->filterByIsRestricted(false)
->find();
return $this->getFactory()
->createPyzCustomerAccessMapper()
->mapEntitiesToCustomerAccessTransfer($unauthenticatedCustomerAccessEntity, new CustomerAccessTransfer());
Why phpstan complains about Collection, when the find
function is really returning an ObjectCollection and not a Collection. Thanks in advance.few-tomato-6859
07/07/2023, 1:33 PMdeploy.yaml
directive services: nginx: timeout: XY
but this sets this timeout globally, which is not what I want.
β’ Optimize our application code to start serving the file immediately instead of after download by the server. I have done this but it didn't bring the desired result. (Code example in first thread comment)acoustic-terabyte-93857
07/09/2023, 3:19 PMsrc/Pyz/Zed/FooBar/Communication/navigation.xml
) don't work in specific module.
But It work when I copy it through config global(config/Zed/navigation.xml
)
Even cleared cache:
docker/sdk console cache:empty-all
docker/sdk console navigation:build-cache
acoustic-terabyte-93857
07/10/2023, 1:15 AMdocker/sdk console spryk:run AddYvesPage
Error - Exception: Call to undefined method PHPStan\BetterReflection\BetterReflection::classReflector()
Error when generate code template AddYvesPage
(https://docs.spryker.com/docs/sdk/dev/spryks/spryks.html#install-spryk)