flaky-cpu-76260
09/23/2021, 3:41 PMnutritious-daybreak-34090
09/23/2021, 7:14 PMacoustic-painter-45206
09/27/2021, 9:51 AM{% block body %}
<div class="{{ config.name }}__overlay {{ attributes['trigger-selector'] }}"></div>
<aside class="{{ component.renderClass(config.name ~ '__drawer', modifiers) }}">
Twig \ Error \ RuntimeError
Variable "component" does not exist.
So for me it looks like some part of API was updated, so we have no access to component anymore, and we have to use something else instead of component.renderClass
. But what function I should call from now?gentle-exabyte-1757
09/27/2021, 10:42 AMgit clone <https://github.com/spryker/docker-sdk.git> -b 1.22.0 --single-branch
git clone <https://github.com/spryker-shop/b2c-demo-shop.git> -b 202108.0-release --single-branch
cd b2c-demo-shop
../docker-sdk/sdk boot deploy.dev.yml
┌────┐ ┌─┐ ┌────┬────┬─┬─┐
│ ───┼───┬─┬─┬─┬─┤ ├─┬───┬─┬─┐ │ ───┼─┐ ┐│ ┌─┘
├─── │ ┼ │ ┌─┤ │ │───┤ ┼─┤ ┌─┘ ├─── ├─┴─┘│ └─┐
└────┤ ┌┴─┘ ├─┐ ├─┴─┴───┴─┘ └────┴────┴─┴─┘
└──┘ └───┘
Using deploy.dev.yml
Running generator
PHP Fatal error: Uncaught Twig\Error\LoaderError: Template "env/application/backoffice.env.twig" is not defined. in /data/vendor/twig/twig/src/Loader/ChainLoader.php:98
Stack trace:
#0 /data/vendor/twig/twig/src/Environment.php(299): Twig\Loader\ChainLoader->getCacheKey('env/application...')
#1 /data/vendor/twig/twig/src/Environment.php(381): Twig\Environment->getTemplateClass('env/application...')
#2 /data/vendor/twig/twig/src/Environment.php(359): Twig\Environment->loadTemplate('env/application...')
#3 /data/vendor/twig/twig/src/Environment.php(318): Twig\Environment->load('env/application...')
#4 /data/index.php(201): Twig\Environment->render('env/application...', Array)
#5 {main}
thrown in /data/vendor/twig/twig/src/Loader/ChainLoader.php on line 98
Same goes for
../docker-sdk/sdk boot
And also happens when the sdk folder is inside the b2c-demo-shop folder.
Master on seems to be working, am I doing anything wrong?incalculable-van-2330
09/27/2021, 5:22 PMincalculable-van-2330
09/27/2021, 5:27 PMwide-easter-55589
09/28/2021, 9:22 AMmammoth-painting-63509
09/28/2021, 9:56 AM\Tideways\Profiler::setServiceName('zed-admin-area');
and \Tideways\Profiler::setServiceName('zed-glue-requests');
, but I'm not sure if there is a central place somewhere to hook into that. Does anyone know if this is possible?able-train-88169
09/29/2021, 11:57 AMmysterious-pencil-76046
09/30/2021, 6:07 AMvendor/spryker/code-sniffer/Spryker/Sniffs/Commenting/FileDocBlockSniff.php
on Pyz level what works as expected when i run console co:sn:st -f
.
Unfortunately vendor/bin/console code:constraint:modules -d
now fails with
Error - Exception: Interface 'PHP_CodeSniffer\Sniffs\Sniff' not found
in /data/vendor/spryker/code-sniffer/Spryker/Sniffs/AbstractSniffs/AbstractSprykerSniff.php (19)
Command: vendor/bin/console code:constraint:modules -d
Is someone able to help?echoing-action-91797
09/30/2021, 6:36 AMreservation removed
, unblocking address
, place order confirmed
. The funny thing is that all of these has a transition event onEnter=true
, so I am wondering how is this even possible 🤔
We got an idea about changing the onEnter transition to a timeout, so it will retry anyway in case of failing, but before starting doing that maybe somebody else got the same issue and figure out a possible solution for it? Any ideas?
Thanks for your time! 🙂fresh-family-51844
09/30/2021, 10:13 AMpublic/Yves/index.php
After 4 seconds it will pop up another request and I will have 2 debug tab in PHPstorm. Does anyone know why this happen?mysterious-spring-57104
10/05/2021, 10:18 AMincalculable-van-2330
10/05/2021, 5:51 PMcrooked-house-89121
10/06/2021, 6:22 AMlemon-magazine-17731
10/06/2021, 10:54 AMlemon-magazine-17731
10/07/2021, 4:18 AMincalculable-van-2330
10/07/2021, 8:22 PMincalculable-van-2330
10/07/2021, 8:25 PMcolossal-alligator-85110
10/11/2021, 7:49 AMmammoth-autumn-37948
10/11/2021, 3:21 PMZed.CRITICAL: Propel\Runtime\Exception\PropelException - Database map was not initialized. Please check the database loader script included by your conf.
After propel:install is problem gone. After docker/sdk up
i have again the problem.... How can solve the problem?
Standard configuration used!polite-lunch-97479
10/12/2021, 1:42 PMFOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
173 | ERROR | [x] @throw annotation `\Exception` superfluous and
| | needs to be removed
----------------------------------------------------------------------
Indeed, my code might throw an exception at this very place. Thus, having a @throws annotation in the function's docblock should be fully correct. How would the calling function know that it needs to catch it otherwise? Am I missing something here or is the code sniffer behaving wrongly here?average-continent-3379
10/13/2021, 7:37 AMspy_product_abstract_image_storage
table? I tried using console event:trigger -r product_abstract_image
, but that didn't seem to help.
The core issue is that I'm deleting duplicated image assignments from the spy_product_image_set_to_product_image
table via plain SQL (as the query for it is a bit complex for propel) and or course I'd like to synchronize the changes to the FE too. Still, spy_product_abstract_image_storage
still has the old data, with the duplicated images and so FE doesn't get updated correctly. How can I force a recheck of what's actually in the DB and recompilation of data for the storage table according to that?mammoth-painting-63509
10/13/2021, 12:36 PMbumpy-football-42265
10/13/2021, 12:50 PMstrong-laptop-16773
10/13/2021, 2:23 PM{% define data = {
neededInfo: required,
} %}
Can I somehow get access that data in my ts component class?
Currently I know that I can pass it through custom attributes, but maybe there is a better way to do that.colossal-pizza-27096
10/14/2021, 8:38 AMhundreds-apple-96667
10/14/2021, 9:14 AMancient-apartment-59274
10/18/2021, 3:03 PMErrorException - FATAL ERROR - Declaration of Spryker\Zed\SecurityOauthUser\Communication\Plugin\Security\Provider\OauthUserProvider::loadUserByUsername(string $username) must be compatible with Symfony\Component\Security\Core\User\UserProviderInterface::loadUserByUsername($username)So, no error on project level. There is an error, because spryker has declared the params type in the function extension, but the interface does not. So its incompatible now. I was wondering what changed and it worked before but it seems something strange happened: The minor update seemed to downgrade some modules like
symfony/security-core
… before it was v5.2.5 … now its v4.4.31 … also, none of the advanced composer update commands does solve the problem (e.g. -W, ignore plaform deps etc.)
Looking at the current spryker/symfony:3.7.0 (before update 3.5.1)there are some deps like
…
“symfony/security-core”: “^4.4.13 || ^5.2.8",
“symfony/security-guard”: “^4.4.13 || ^5.2.8",
“symfony/security-http”: “^4.4.13 || ^5.2.8",
…It feels like composer favours on of the 4.x.xx version over the 5.x.x but i cant figure out why. With the previous 3.5.1 version of spryker/symfony there where just the depdency with
…
“symfony/security-core”: “^4.4.13 || ^5.0.0",
“symfony/security-guard”: “^4.4.13 || ^5.0.0",
“symfony/security-http”: “^4.4.13 || ^5.0.7",
…which resulted in
core:v5.2.5
, guard:v5.2.4
and http:v5.1.11
Tracing the dependencies of the core
guard
and http
modules i am running in circles
composer why-not symfony/security-core:v5.2.8
symfony/security-http v4.4.30 requires symfony/security-core (^4.4.8)
composer why-not symfony/security-http:v5.2.8
symfony/security-guard v4.4.27 requires symfony/security-http (^4.4.1)
composer why-not symfony/security-guard:v5.2.8
symfony/security-guard v5.2.8 requires symfony/security-core (^5.0)I guess there is somewhere a broken dep between the modules since composer does not complain but the interface is broken … any idea what to do? What do i miss? Best
icy-sundown-8018
10/20/2021, 1:11 PM{% extends template('widget') %}
{% define data = {
isVisible: false,
} %}
{% block template %}
{{ dump(data.isVisible) }} {# shows true, should be false #}
{% endblock body %}