calm-toddler-60539
12/28/2022, 1:05 PMvendor/bin/codecept run -c tests/PyzTest/Zed/Glossary
rough-agency-88294
12/28/2022, 2:13 PMstocky-architect-18877
12/28/2022, 2:32 PMelegant-agent-58713
12/28/2022, 3:04 PMmillions-river-67963
12/28/2022, 3:58 PMastonishing-cartoon-61311
12/28/2022, 4:13 PMconsole search:setup
, did anybody encounter this error before?
There is a comment saying that empty mapping causes it, but I don’t know how to resolve it.
Any advice would be appreciated.
Thank you!
Command setup-search for DE store [vendor/bin/console search:setup -vvv --no-ansi]
--------------------------------------------------------------------------------
Store: DE | Environment: docker.staging
[info] Import mappings and settings for index "spryker-cloud_de_merchant".
[2022-12-28T13:34:19.346671+00:00] Zed.ERROR: CLI command "search:setup" exception, message "class java.util.ArrayList cannot be cast to class java.util.Map (java.util.ArrayList and java.util.Map are in module java.base of loader 'bootstrap')" {"exception":"[object] (Elastica\\Exception\\ResponseException(code: 0): class java.util.ArrayList cannot be cast to class java.util.Map (java.util.ArrayList and java.util.Map are in module java.base of loader 'bootstrap') at /data/vendor/ruflin/elastica/src/Transport/Http.php:178)
[stacktrace]
#0 /data/vendor/ruflin/elastica/src/Request.php(183): Elastica\\Transport\\Http->exec(Object(Elastica\\Request), Array)
#1 /data/vendor/ruflin/elastica/src/Client.php(517): Elastica\\Request->send()
witty-engineer-68746
12/29/2022, 9:43 AM[glue] [glue_eu] - NOTICE: PHP message: PHP Fatal error: Uncaught ValueError: Path cannot be empty in [no active file]:0
or
[zed-backoffice] [backoffice_eu] - NOTICE: PHP message: PHP Fatal error: Uncaught ValueError: Path cannot be empty in [no active file]:0
?
Noticed this after upgrading to PHP 8.1calm-toddler-60539
12/29/2022, 10:15 AMReturn type annotation is missing the class that is mocked
This is the function where the sniffer gives the error:
/**
* @return \PHPUnit\Framework\MockObject\MockObject
*/
public function getMockSpyGlossaryTranslationQuery()
{
return $this->getMockBuilder(SpyGlossaryTranslationQuery::class)
->getMock();
}
Can you please tell me what is missing in the docs?calm-toddler-60539
12/29/2022, 4:14 PMcuddly-island-59765
12/30/2022, 10:36 AMmysterious-ambulance-11183
12/30/2022, 1:47 PMcalm-toddler-60539
12/30/2022, 3:12 PMtall-spring-12746
01/02/2023, 4:53 AMpurple-queen-71270
01/02/2023, 5:12 AMpurple-queen-71270
01/02/2023, 5:14 AMstale-battery-68732
01/02/2023, 5:18 AMrough-agency-88294
01/02/2023, 8:14 AMcategory-trees
answer, the order seems to be always null
and the response is not what the backoffice is set. Any ideas?cool-beard-17954
01/02/2023, 8:25 AMwonderful-baker-94910
01/02/2023, 12:00 PMelegant-agent-58713
01/02/2023, 12:55 PMshy-horse-47987
01/02/2023, 10:22 PMdocker/sdk cli console transfer:generate
it ends up throwing an exception saying:
Error - Exception: Class 'Generated\Shared\Transfer\MonitoringTransactionEventTransfer' not found in /data/vendor/spryker/monitoring/src/Spryker/Zed/Monitoring/Business/EventHandler/EventHandler.php (97)
I can tell you the src/Generated
directory does not exist anymore because I deleted it while diagnosing this issue, assuming it would just be regenerated. Initially, the src/Generated/Shared/Transfer
directory was empty, but I don't recall if that was something I did or something that happened on its own somehow.
Does anyone know what command I should run to make Spryker regenerate that src/Generated
directory and the Transfer
directory contents?eager-dinner-49049
01/03/2023, 5:08 AMwonderful-baker-94910
01/03/2023, 7:54 AMcalm-toddler-60539
01/03/2023, 9:21 AMcalm-toddler-60539
01/03/2023, 10:37 AMcalm-toddler-60539
01/03/2023, 12:14 PMclass AepImportConcreteProductWriter implements DataSetWriterInterface
{
use DataSetWriterPersistenceStateAwareTrait;
/**
* @inheritDoc
*/
public function write(DataSetInterface $dataSet)
{
...
DataImporterPublisher::addEvent(
ProductEvents::PRODUCT_CONCRETE_PUBLISH,
$spyConcreteProductId
);
DataImporterPublisher::addEvent(
ProductEvents::PRODUCT_ABSTRACT_PUBLISH,
$spyAbstractProductId
);
}
rapid-shampoo-47522
01/04/2023, 7:00 AMlate-tiger-76201
01/04/2023, 8:32 AMmost-plumber-5947
01/05/2023, 6:35 AMgifted-processor-93179
01/05/2023, 12:38 PM