rough-agency-88294
11/01/2022, 1:15 PMstocky-architect-18877
11/02/2022, 4:48 AMbillions-carpet-85832
11/02/2022, 1:11 PM@deprecated — Will be removed without replacement.
I'm using intelephense(1007) plugin for my VS code.
Can someone please help me in understanding the problem here?bright-cat-24225
11/02/2022, 2:28 PMdeploy.dev.yml
docker:
debug:
enabled: trueAnd
$config[LogConstants::LOG_LEVEL] = getenv('SPRYKER_DEBUG_ENABLED') ? Logger::DEBUG : Logger::ERROR;
millions-river-67963
11/02/2022, 2:35 PMelegant-cartoon-61249
11/02/2022, 7:35 PMglamorous-book-96870
11/03/2022, 2:15 AMstocky-architect-18877
11/03/2022, 7:25 AMfast-activity-30172
11/03/2022, 7:32 AMstocky-architect-18877
11/03/2022, 10:05 AMwonderful-baker-94910
11/03/2022, 11:18 AMrough-agency-88294
11/03/2022, 1:21 PMstocky-architect-18877
11/04/2022, 5:58 AMsome-gpu-85939
11/04/2022, 8:56 AMgreat-afternoon-41358
11/04/2022, 10:10 AMext-xsl
extension to the docker image via configuration files (like `deploy.yml`files) in order to not build a custom image for the shop. I have a composer dependency that requires this extension and I need it to have on every deployed environment. How can I proceed with that?microscopic-refrigerator-51986
11/04/2022, 5:15 PMfails with the following exception:APPLICATION_STORE=AZ vendor/bin/console search:setup && vendor/bin/console search:setup:sources && vendor/bin/console search:setup:source-map
Elastica\Exception\ResponseException - analyzer [fulltext_search_analyzer] has not been configured in mappings in “/data/vendor/ruflin/elastica/src/Transport/Http.php::178”The new store’s Elasticsearch uses the same shared config as our default store (and default store handles the commands above just fine). Also, when deploying locally there is no such problem. In the end, any request to AZ search results in exception like this:
_Search failed with the following reason: failed to create query: [nested] nested object under path [integer-facet] is not of nested type [index: az_page] [reason: all shards failed]_Any thoughts? Can it be a problem with AWS configuration or am I missing something?
shy-horse-47987
11/04/2022, 11:09 PMconfig/Zed/navigation.xml
and the changes shows up fine, just as I would expect. But creating a navigation.xml in my project module at Communication/navigation.xml
does not seem to affect the left navigation at all. I have my Communication/Controller/IndexController.php
working and able to run PHP code and generate output, so I know the module itself is working. This is basically a hello-world module, I just can't figure out why it's not loading my navigation.xml.
It seems that the online documentation for Zed's backoffice navigation is rather sparse - I found a total of 2 pages discussing it.
Any help would be appreciated!fierce-agency-72925
11/07/2022, 6:14 AMSpryker\Glue\Kernel\ClassResolver\DependencyProvider\DependencyProviderNotFoundException - Exception: Spryker Kernel Exception
Can not resolve NgcategoryRestApiDependencyProvider for your module "NgcategoryRestApi"
You can fix this by adding the missing DependencyProvider to your module.
mammoth-autumn-37948
11/07/2022, 9:50 AMsetex
and then the whole thing goes into 504 Gateway-Timeout of course.
Can anyone give me some Tip on how to analyze and/or understand why this happens?
Thank u in advance!cool-beard-17954
11/08/2022, 2:40 PMcalm-toddler-60539
11/08/2022, 2:51 PMGlue.ERROR: Default queue connection not found. You can fix this by adding `RabbitMqEnv::RABBITMQ_DEFAULT_CONNECTION = true` in your queue connection in `config_*.php` files {"trace":"#0 /data/vendor/spryker/rabbit-mq/src/Spryker/Client/RabbitMq/Model/Connection/ConnectionManager.php(163): Spryker\\Client\\RabbitMq\\Model\\Connection\\ConnectionManager->getDefaultQueueConnectionTransfer() ...
I just have the following code in the getAction() method of resource controller which leads the the error above.
$queueData[] = (new QueueSendMessageTransfer())->setBody("hello!");
$queueClient = $this->getFactory()->getQueueClient();
$queueClient->sendMessages(
AntelopesImportRestApiConstants::ANTELOPE_API_IMPORT_QUEUE,
$queueData
);
return $response;
Can someone please help?fierce-agency-72925
11/08/2022, 9:36 PMnamespace: PyzTest\Glue\NgcategoryRestApi
paths:
tests: .
data: _data
support: _support
log: _output
coverage:
enabled: true
remote: false
whitelist: { include: ['../../../../src/*'] }
suites:
Glue:
path: Plugin
class_name: NgcategoryRestApiPluginTester
modules:
enabled:
- \SprykerTest\Glue\Testify\Helper\FactoryHelper
- \SprykerTest\Shared\Testify\Helper\LocatorHelper:
projectNamespaces: ['Pyz']
2 . Generated *TesterAction.php trait file has getLocator() method ( When I remove - \SprykerTest\Shared\Testify\Helper\LocatorHelper: projectNamespaces: ['Pyz'] , instead of config key error it shows another error -
Test Plugin/NgcategoryRestApiResourceTest.php:testReturnsErrorOnInvalidRequestForNgcategoryRestApi
[RuntimeException] Call to undefined method PyzTest\Glue\NgcategoryRestApi\NgcategoryRestApiPluginTester::getLocator
#1 /data/tests/PyzTest/Glue/NgcategoryRestApi/Plugin/NgcategoryRestApiResourceTest.php:41
#2 /data/vendor/bin/codecept:112
---------
*NOTE: My API is working as expected ( tested in Postman )stocky-kilobyte-45277
11/09/2022, 8:06 AMcalm-toddler-60539
11/09/2022, 10:07 AMpublic function addAntelopeQueueImporterProviderFacade(Container $container) : Container
{
$container->set(static::CLIENT_ANTELOPE_IMPORT, function (Container $container){
$object = $container->getLocator()->antelopeQueueImporter()->facade();
});
return $container;
}
As this is not working for me, getting LogicException - Exception: Could not map method "facade" to a locator!
stocky-architect-18877
11/09/2022, 10:39 AMclever-jelly-54786
11/09/2022, 11:16 AMearly-army-90039
11/09/2022, 11:36 AMpublic function getGlobalConfigValueByKey(string $configKey)
{
$configValueData = $this->getFactory()->getStorageClient()->get(GlobalConfigConfig::REDIS_GLOBAL_CONFIG_KEY . ':' . strtolower($configKey));
unset($configValueData['_timestamp']);
return json_encode($configValueData);
}
numerous-kitchen-79937
11/09/2022, 1:58 PMUnable to execute INSERT statement [INSERT INTO spy_hello_world_message_storage (id_hello_world_message_storage, fk_hello_world_message, data, key, created_at, updated_at) VALUES (:p0, :p1, :p2, :p3, :p4, :p5)]
FYI: I’m going through this Tutorial:
https://docs.spryker.com/docs/scos/dev/back-end-development/data-manipulation/data-publishing/handle-data-with-publish-and-synchronization.html
So I’m using the storageEntity from propel like this:
$storageEntity = new SpyHelloWorldMessageStorage();
$storageEntity->setFkHelloWorldMessage(2);
$storageEntity->setData(array('test'));
$storageEntity->save();
The schema file looks like this:
<?xml version="1.0"?>
<database xmlns:xsi="<http://www.w3.org/2001/XMLSchema-instance>" name="zed"
xsi:noNamespaceSchemaLocation="<http://static.spryker.com/schema-01.xsd>"
namespace="Orm\Zed\AntelopeSearch\Persistence" package="src.Orm.Zed.AntelopeSearch.Persistence">
<table name="spy_hello_world_message_storage" idMethod="native" allowPkInsert="true">
<column name="id_hello_world_message_storage" type="BIGINT" autoIncrement="true" primaryKey="true"/>
<column name="fk_hello_world_message" type="INTEGER" required="true"/>
<index name="spy_hello_world_message_storage-fk_hello_world_message">
<index-column name="fk_hello_world_message"/>
</index>
<behavior name="synchronization">
<parameter name="resource" value="message"/>
<parameter name="key_suffix_column" value="fk_hello_world_message"/>
<parameter name="queue_group" value="sync.storage.hello"/>
</behavior>
<behavior name="timestampable"/>
<id-method-parameter value="spy_hello_world_message_storage_pk_seq"/>
</table>
</database>
I’ve run console propel:install etc. and the entityORM classes are there and don’t show any errors etc.quiet-ram-72134
11/09/2022, 3:39 PMcalm-toddler-60539
11/09/2022, 4:04 PMSpryker\Shared\ZedRequest\Client\Exception\TransferNotFoundException - Exception: No class name given for Transfer generation.
When I call this function:
public function addAntelopeToQueue(AntelopeTransfer $antelopeTransfer): TransferInterface
{
return $this->zedRequestClient->call(
'/bucket-importer/gateway/add-antelope-to-queue',
$antelopeTransfer
);
}
Can someone please help?