wide-wolf-99519
05/27/2021, 8:50 AMwide-microphone-90453
05/28/2021, 2:58 AMancient-apartment-59274
05/28/2021, 7:19 AMrough-scientist-68683
05/31/2021, 9:39 AMpolite-lunch-97479
05/31/2021, 1:38 PMif ($subscriptionForm->isSubmitted() === false || $subscriptionForm->isValid() === false) {
$errors = $subscriptionForm->getErrors(true);
foreach ($errors as $error) {
$this->addErrorMessage($error->getMessage());
}
}
Is there anything better than that? I'd rather keep inline form messages to display them along with the corresponding form field.ancient-arm-53696
06/01/2021, 6:12 AMYVES Exception
Twig\Error\RuntimeError - Variable "component" does not exist.
in /data/src/Pyz/Yves/CheckoutPage/Theme/default/templates/page-layout-order-submitted/page-layout-order-submitted.twig (47)
Url:/de/checkout/success
This refers to a code snippet like this:
{% set containerClass = component.renderClass(config.name ~ '__container', modifiers) ~ ' grid grid--middle grid--center' %}
How is that supposed to be handled?
Adding something like {% import model('component') as component %}
is possible in some cases, but not all, and probably a mess if it needs to be added to all the files. What is recommended here?
Thanks in advancehappy-addition-42792
06/02/2021, 9:12 AM[02-Jun-2021 08:54:58] WARNING: [pool worker] child 15 said into stderr: "[2021-06-02T08:54:58.797681+00:00] Yves.CRITICAL: Spryker\Shared\SessionRedis\Handler\Exception\LockCouldNotBeAcquiredException - Spryker\Shared\SessionRedis\Handler\SessionHandlerRedisLocking could not acquire access to the session d92b4810bf583771d7ed7728e478abfd in "/data/vendor/spryker/session-redis/src/Spryker/Shared/SessionRedis/Handler/SessionHandlerRedisLocking.php::97" {"exception":"[object] (Spryker\\Shared\\SessionRedis\\Handler\\Exception\\LockCouldNotBeAcquiredException(code: 0): Spryker\\Shared\\SessionRedis\\Handler\\SessionHandlerRedisLocking could not acquire access to the session d92b4810bf583771d7ed7728e478abfd at /data/vendor/spryker/session-redis/src/Spryker/Shared/SessionRedis/Handler/SessionHandlerRedisLocking.php:97)"
in production? We're using Spryker Cloud.average-continent-3379
06/02/2021, 12:13 PMError: Class 'SprykerEcoTest\Zed\CrefoPayApi\Business\CrefoPayApiFacadeBaseTest' not found
. Has anyone encountered a similar issue? Or any ideas about any possible solutions...?polite-lunch-97479
06/02/2021, 2:41 PMdocker/sdk console code:sniff:architecture -vvv
--> DEVELOPMENT MODE
Store: DE | Environment: docker.dev
Run Architecture Sniffer for PROJECT
/data/src/
Bridges: The bridge interface has incorrect method 'generate' signature. That violates the rule "All bridge methods must have exactly the same signature as their interface" (l. 12)
Spryker > BridgeMethodsRule
1 violations found
Next thing I did was to edit vendor/spryker/architecture-sniffer/src/Common/Bridge/BridgeMethodsRule.php temporarily to produce some additional log output. Turns out that the parameter comparison is failing:
Parameter #0 [ <required> Generated\Shared\Transfer\SequenceNumberSettingsTransfer $sequenceNumberSettingsTransfer ]
Parameter #0 [ <required> Generated\Shared\Transfer\SequenceNumberSettingsTransfer $sequenceNumberSettings ]
First line is the one from the interface method, second one from its implementation.
Crazy thing is that the second line doesn't reflect the actual argument name from the Bridge class. How can that be?mammoth-autumn-37948
06/02/2021, 2:47 PMvendor/spryker/publish-and-synchronize-health-check/src/Spryker/Zed/PublishAndSynchronizeHealthCheck/Persistence/PublishAndSynchronizeHealthCheckPersistenceFactory.php
there is a typo error... Class not found.. wrong use statement.
Thank u!
Fyi: @average-branch-45579ancient-apartment-59274
06/03/2021, 10:15 AMastonishing-lamp-41374
06/03/2021, 5:47 PMgetQueueOptions
-> getQueueConfiguration
?
So far the installation seems to have taken care of most of the new functions but getQueueOptions is missing…great-cpu-16911
06/03/2021, 10:23 PMstocky-insurance-30459
06/04/2021, 3:03 AMbrave-air-39109
06/07/2021, 9:09 AMmammoth-autumn-37948
06/07/2021, 9:10 AM....
$query->clearSelectColumns();
$query->select([
<array of fields via TableMap>
]);
It happened that in this format propel just don't map the enum fields..
I.e. I have a field ENUM mapped in "A,B,C" and when I select the fields directly then i got the int value behind the map and not the mapped value according valueSet for ENUM.
Any idea why? Or maybe I make smth wrong?
Thanks!plain-house-98998
06/08/2021, 9:03 AMancient-apartment-59274
06/08/2021, 12:04 PMnumerous-continent-72597
06/08/2021, 2:08 PMnutritious-cpu-80657
06/08/2021, 2:18 PMproduct-attribute-gui/src/Spryker/Zed/ProductAttributeGui/Presentation/View/_partials/add-attribute-form.twig
On line 17 after the endembed
directive there is the letter c
which I believe is a typo 😄melodic-translator-48489
06/08/2021, 3:14 PMearly-rocket-64335
06/08/2021, 4:15 PMbillowy-eye-80487
06/09/2021, 1:05 PMvendor/spryker/category/src/Spryker/Zed/Category/Presentation/View/index.twig
) without copying the whole file to the project folder?
I’ve tried {% extends '@Category/View/index.twig' %}
but then I’m getting redirected back to the list. I guess this doesn’t work because the twig file tries to extend itself.stocky-lizard-37635
06/09/2021, 5:22 PMPhpAmqpLib\Exception\AMQPConnectionClosedException - Exception: INTERNAL_ERROR - access to vhost '/DE_spryker_zed' refused for user 'spryker': vhost '/DE_spryker_zed' is down(10, 40)
Looking at the RabbitMQ logs I can see that vhost '/DE_spryker_zed' can not be started (RabbitMQ itself is running fine). After some research I found out that rabbitMQ creates restore files if stopped. Due to the disk problem mentioned above the file seems to be corrupt. Therefore the vhost can not be started. It is suggested to delete the recovery files. But wont this be a problem for spryker data integrity if some rabbitmq messages get lost (the ones in the recovery file)?acceptable-chef-52827
06/09/2021, 7:07 PMacceptable-chef-52827
06/09/2021, 7:07 PMbright-oil-37725
06/10/2021, 9:15 AMacceptable-chef-52827
06/09/2021, 7:08 PMnutritious-angle-64267
06/10/2021, 6:06 AMnutritious-angle-64267
06/10/2021, 8:33 AM