mysterious-king-59256
07/27/2021, 12:16 PMwide-wolf-99519
07/27/2021, 1:53 PM// example
return $this->jsonResponse(['code' => 401, 'message' => 'go away'], 422);
anyone experienced similiar problems?ancient-apartment-59274
07/27/2021, 2:40 PMrough-egg-5359
07/28/2021, 8:37 AMancient-apartment-59274
07/29/2021, 9:50 AMflaky-boots-28440
07/29/2021, 12:37 PMSpryker\Zed\Application\Communication\Controller\IndexController::indexAction()
to add a redirect to /dashboard (so the users no longer see a blank page after logging into Zed. Unfortunately, my custom controller is never called, so it has no effect.
Is there an easy way to get Spryker boot into my custom code / change the default Zed page in another way?
<?php
/**
* This file is part of the Spryker Commerce OS.
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace Pyz\Zed\Application\Communication\Controller;
use Spryker\Zed\Application\Communication\Controller\IndexController as SprykerIndexController;
/**
* @method \Spryker\Zed\Application\Business\ApplicationFacadeInterface getFacade()
* @method \Spryker\Zed\Application\Communication\ApplicationCommunicationFactory getFactory()
*/
class IndexController extends SprykerIndexController
{
/**
* @return \Symfony\Component\HttpFoundation\RedirectResponse
*/
public function indexAction()
{
return $this->redirectResponse('/dashboard');
}
}
eager-beach-43647
07/29/2021, 7:09 PMnutritious-angle-64267
08/02/2021, 9:38 AMancient-apartment-59274
08/02/2021, 3:28 PMcalm-lamp-45600
08/05/2021, 9:17 AM$this->storageClient->getKeys()
the storageClient is the vendor \Spryker\Client\Storage\StorageClient class
Is there an known issue by using this method or is there something to note by the implementation?kind-answer-74770
08/05/2021, 1:29 PMrough-scientist-68683
08/05/2021, 2:03 PMnutritious-angle-64267
08/09/2021, 5:21 AMadorable-piano-19015
08/09/2021, 6:15 AMhallowed-printer-40886
08/09/2021, 1:12 PM"Error in one or more bulk request actions:\n\nindex: \/index_de_page\/_doc\/product_abstract:de:de_de:1 caused unknown parameter [analyzer] on mapper [name] of type [keyword]"
Changing the mapper to use a normalizer instead of an analyzer it seems to work just fine.
{
"string_sort": {
"mapping": {
"normalizer": "lowercase_normalizer",
"type": "keyword"
},
"path_match": "string-sort.*"
}
},
Are you aware of the issue and do you see any problem in changing the mapper to an normalizer? Thanks for your help!nutritious-angle-64267
08/10/2021, 6:38 AMlemon-magazine-17731
08/10/2021, 8:06 AMflaky-smartphone-7177
08/10/2021, 1:39 PMmysterious-king-59256
08/11/2021, 7:37 AMwitty-guitar-42993
08/12/2021, 11:45 PMmammoth-painting-63509
08/13/2021, 9:28 AMdata:import glossary
? I'd like to add that to our deployment script, but I don't want to overwrite already existing values (that might be changed in the zed-backend manually).clean-painter-47981
08/13/2021, 10:51 AMfresh-tent-43300
08/16/2021, 9:14 AMnpm run yves
and cache clean are not reliable. Thanks for any suggestion!ancient-apartment-59274
08/16/2021, 12:42 PMlittle-secretary-81579
08/16/2021, 1:22 PMhasUrlCaseInsensitive
. Using it will create a query modifying the URL with UPPER.
The problem with this approach is, that it will not make use of the UNIQUE index which is defined for spy_url.url and hence with many URLs in the table it will make all operation extremely slow.
Our solution is to add an index like this: CREATE INDEX IF NOT EXISTS "index-spy_url-url-upper" ON spy_url ((upper(url)))
. This solves the performance problem perfectly. However it is NOT possible to define such an index using Propel. If we manually create this index Propel will crash when doing propel:diff
.
Did anybody run into this problem earlier and can provide some advice? Thanks all!nutritious-angle-64267
08/17/2021, 7:22 AMrough-scientist-68683
08/17/2021, 8:14 AMstrong-laptop-16773
08/17/2021, 2:44 PMpolite-lunch-97479
08/17/2021, 2:51 PMflaky-smartphone-7177
08/18/2021, 7:44 AM