mammoth-autumn-37948
11/18/2020, 8:25 AMYves.CRITICAL: Spryker\Shared\SessionRedis\Handler\Exception\LockCouldNotBeAcquiredException - Spryker\Shared\SessionRedis\Handler\SessionHandlerRedisLocking could not acquire access to the session 5b13e03e40f2f4ad90c2eeabcc4d60d8 in "/srv/www/production/htdocs/current/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 5b13e03e40f2f4ad90c2eeabcc4d60d8 at /srv/www/production/htdocs/current/vendor/spryker/session-redis/src/Spryker/Shared/SessionRedis/Handler/SessionHandlerRedisLocking.php:97)
Redis Server seems to be ok and running. No log.. No downtime..
Why YVES can not lock the customer session in redis before it fetch the customer session data? What can be the possible reasons of this exception?
Thank u in advance for helping me to find out the problem!quiet-boots-16346
11/23/2020, 12:34 PMancient-apartment-59274
11/23/2020, 1:33 PMancient-apartment-59274
11/24/2020, 2:23 PMrough-scientist-68683
11/24/2020, 2:35 PMacoustic-painter-45206
11/24/2020, 3:47 PMacoustic-painter-45206
11/24/2020, 4:11 PM<?xml version="1.0"?>
<transfers xmlns="spryker:transfer-01"
xmlns:xsi="<http://www.w3.org/2001/XMLSchema-instance>"
xsi:schemaLocation="spryker:transfer-01 <http://static.spryker.com/transfer-01.xsd>">
<transfer name="NewsApiTransfer">
<property name="id" type="integer" />
<property name="wordpressId" type="integer" />
</transfer>
</transfers>
And mapped it to the resource plugin:
public function getResourceAttributesClassName(): string
{
return NewsApiTransfer::class;
}
I've made the controller and method:
public function postAction(NewsApiTransfer $transfer)
{
dd($transfer);
}
Yet, while trying to call this API, I keep getting 400: Post data is invalid:jolly-night-88032
11/25/2020, 1:06 PMgentle-exabyte-1757
11/25/2020, 2:05 PMmysterious-king-59256
11/26/2020, 2:58 PM\Spryker\Client\Catalog\CatalogClient::catalogSearch
, but some plugins require parameters in constructor. Client module A
has some logic, which runs plugins. This logic can be started by client method. Module B
is using this logic with configured plugins, but these plugins require also data (parameters) from module B
. Context cannot be passed through plugins executor, because each plugin can require completely different data. Currently I implemented it in a way that A's
client accepts array of plugins as parameter and i create plugins in B's
factory, but this doesn't seem good. Is there any option to pass data/context to dependency provider?rough-scientist-68683
11/27/2020, 7:40 AMXmlOutputStreamPlugin
for this but it doesn't work. I create it in the DependencyProvider and set the required options but when I execute the process it tells me that The required options "entityNodeName", "rootNodeName" are missing.
I found out that the check is done at least two times. The first time the options I set are there and the second time they're not and thus the error.
I can't find any documentation or examples online so I hope someone can help me 🙂mammoth-vegetable-1248
11/27/2020, 2:45 PMoms:check-timeouts
can affect Storage Redis memory usage? Is there any chance that somehow it uses Storage Redis for temporary storing some data and drops it after it is executed?quiet-boots-16346
11/30/2020, 11:26 AMController "Pyz\Zed\Term\Communication\Controller\GatewayController::acceptAction()" requires that you provide a value for the "$termConsentTransfer" argument. Either the argument is nullable and no null value has been provided, no default value has been provided or because there is a non optional argument after this one. in file /data/shop/development/current/vendor/symfony/http-kernel/Controller/ArgumentResolver.php on line 80
GatewayController:
public function acceptAction(TermConsentTransfer $termConsentTransfer)
In my client I call the gateway as:
$response = $this->zedRequestClient->call('/term/gateway/accept', $termConsentTransfer);
I checked via xdebug and the transfer object is passed here (with data) and I've traced it until GuzzleHttp\Client where it got lost in debug because it's probably used in stream. Am I missing something here?quiet-boots-16346
12/01/2020, 12:32 PM[Spryker\Zed\Kernel\ClassResolver\Factory\FactoryNotFoundException] Spryker Kernel Exception
Can not resolve TermBusinessFactory in Business layer for your module "Term"
You can fix this by adding the missing Factory to your module.
E.g. Pyz\Zed\Term\Business\TermBusinessFactory
However, I have the TermBusinessFactory class: Pyz\Zed\Term\Business\TermBusinessFactory extends AbstractBusinessFactory
. My codeception.yml looks like this:
namespace: PyzTest\Zed\Term
paths:
tests: .
data: _data
support: _support
log: _output
coverage:
enabled: true
remote: false
whitelist: { include: ['../../../../src/*'] }
suites:
Business:
path: Business
class_name: TermBusinessTester
modules:
enabled:
- Asserts
- \PyzTest\Shared\Testify\Helper\Environment
- \SprykerTest\Shared\Testify\Helper\ConfigHelper
- \SprykerTest\Shared\Testify\Helper\DependencyHelper
- \SprykerTest\Shared\Propel\Helper\TransactionHelper
- \SprykerTest\Shared\Testify\Helper\LocatorHelper:
projectNamespaces: ['Pyz']
And it fails when I am trying to receive a facade in my FacadeTest:
$termFacade = $this->tester->getLocator()->term()->facade();
I'll post the screenshot of the Zed\Term module structure in the thread.
The implementation itself works, so it looks like a test configuration for class resolvers.tall-afternoon-47433
12/01/2020, 2:15 PMSpryker\Zed\Oms\Business\Reader\ReservationReader::sumReservedProductQuantitiesForSku()
returns 0. getOmsReservedStateCollection()
is retrieving reserved states with subprocesses loaded instead of main process. Because of this, assertStateAndProcessExists()
always return false because it tries to compare current main process name to a subprocess name.
We do not have any custom logic for reservations. Oms module version “11.10.0". Can anyone help us to resolve this issue? Are we missing any plugin configuration?busy-ram-12088
12/01/2020, 2:24 PMloud-rainbow-44827
12/01/2020, 2:58 PMpurple-coat-90835
12/07/2020, 1:24 PMwide-wolf-99519
12/07/2020, 4:24 PM<http://zed.en.suite.local/auth/login?referer=%2Fauth%2Flogin%3Freferer%3D%252Fauth%252Flogin>
/auth/login
redirects me to /auth/login?referer=urlencode(/auth/login
which takes me to /auth/login?referer=url_encode(/auth/login?referer=url_encode(/auth/login))
and so on
has anyone experienced anything similiar?wide-wolf-99519
12/08/2020, 12:07 PMException: Duplicate table found: spy_auth_reset_password.
while running propel:install
I am currently trying to update the project to match spryker-shop/suite 1.7, and I might be getting this completely wrong, but it seems to me, that both spryker/auth (required) and spryker/user-reset-password (required by spryker/merchant-user) have this table in their schema, which causes the trouble
Did anyone have similiar problem or could point me what am I doing wrong?crooked-house-89121
12/09/2020, 8:50 AM{{ cms_block(['blck-14']) }}
to the bottom of the page, but it only shows an empty div in the html.
I already searched through the channel and found some issues where the block in question is not migrated to the spy_cms_block_storage
, but this is not the case for me.
Has anyone had this issue or some advice how I can go about debugging this?
Help would be much appreciated 🙂little-secretary-81579
12/09/2020, 11:35 AMwide-wolf-99519
12/10/2020, 8:44 AM<http://zed.en.suite.local/availability-gui>
Ill add logs and error messages in repliesgray-engine-53418
12/10/2020, 11:49 AMwide-wolf-99519
12/10/2020, 2:43 PMlittle-secretary-81579
12/10/2020, 3:00 PMimportant-lunch-21173
12/11/2020, 10:02 AMwide-wolf-99519
12/11/2020, 1:20 PMwide-wolf-99519
12/11/2020, 1:24 PMsilly-motherboard-93855
12/14/2020, 12:58 PMModule not found: Error: Can't resolve 'password-validator' in '/vendor/spryker-shop/shop-ui/src/SprykerShop/Yves/ShopUi/Theme/default/components/molecules/password-complexity-indicator'
where was this package (password-validator
) added?