acoustic-whale-62254
02/07/2020, 8:14 AM[spryker_app_dependencies 5/5] RUN --mount=type=cache,target=/home/spryker/.composer/cache,from=composer_cache,source=/cache composer install --no-interaction --optimize-autoloader --no-dev
acoustic-whale-62254
02/07/2020, 8:14 AMcrooked-house-89121
02/07/2020, 8:22 AMAccess to XMLHttpRequest at '<http://glue.de.spryker.local/checkout-data>' from origin '<http://localhost:8080>' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
I already tried changing the config to allow cross site requests, but that didn’t help.
$config[GlueApplicationConstants::GLUE_APPLICATION_CORS_ALLOW_ORIGIN] = '<http://localhost:8080>';
Furthermore I noticed, that the response I’m getting contains the access-control-allow-origin header, but doesn’t contain the access-control-allow-methods.
The response itself is:
{
"errors": [
{
"detail": "Missing access token.",
"status": 403,
"code": "002"
}
]
}
I’m using fetch to make the requests.
I would be grateful for any help.red-king-83175
02/07/2020, 1:39 PMclean-glass-99425
02/07/2020, 3:17 PM7.7.1
I finally can delete CMS Pages which runs fine. Still I don't see any possibility to do the same with CMS Blocks?mammoth-autumn-37948
02/10/2020, 8:57 AMlittle-secretary-81579
02/11/2020, 11:52 AMrun_on_non_production => false
in jobs.php?
It seems to make the job not run on production, but on any different environment. Cronjobs::getSchedule() will determine any environment different from production as production.
Do I get something wrong here?aloof-electrician-43662
02/11/2020, 1:44 PMproject/src/Pyz/Yves/ShopUi/Theme/default/components/molecules/search-form/search-form.twig
{% define data = {
searchUrl: path('custom-search-module'),
searchValue: app.request.get('q')
} %}
and i want learn good practice in spryker.sparse-fall-78248
02/11/2020, 1:46 PMclean-glass-99425
02/11/2020, 2:03 PMclean-glass-99425
02/12/2020, 2:49 PMgentle-vegetable-74963
02/12/2020, 3:32 PMFor further information on this partner and integration into Spryker, please contact us.
Is there any obligation to use this form before installing the module from the Spryker-eco repository?wide-easter-55589
02/13/2020, 9:38 AM\SprykerTest\Shared\Url\Helper\UrlDataHelper
due to missing autoload information (https://github.com/spryker/spryker-core/tree/master/Bundles/Url).
Also the directory structure looks weird (https://github.com/spryker/spryker-core/tree/master/Bundles/Url/tests/SprykerTest/Shared/Url) compared to other modules (e.g. https://github.com/spryker/spryker-core/tree/master/Bundles/Customer/tests/SprykerTest/Shared/Customer).green-balloon-3841
02/13/2020, 10:42 AMsilly-motherboard-93855
02/13/2020, 10:58 AMsku CONTAINS 'CREME'
in \Orm\Zed\Discount\Persistence\Base\SpyDiscount::getCollectorQueryString. Is there a method in Spryker which converts this to raw query part (I guess LIKE statement in this case)?acoustic-businessperson-27970
02/13/2020, 1:19 PMearly-art-81990
02/14/2020, 7:23 AM$this->zedStub->call()
allways needs to return some TO when calling ZED from YVES via ZedRequestCLient? I tried without and got this error showing below. All examples I could find in vendor/spryker are returning a TO, so I assume I need to do this as well.acoustic-motherboard-16553
02/14/2020, 12:03 PMstrong-winter-32294
02/14/2020, 12:08 PMsteep-receptionist-20341
02/17/2020, 8:35 AMSymfony\Component\OptionsResolver\Exception\UndefinedOptionsException thrown with message "An error has occurred resolving the options of the form "Symfony\Component\Form\Extension\Core\Type\TextareaType": The options "allowed_attributes", "allowed_html_tags", "sanitize_xss" do not exist. Defined options are: "action", "allow_extra_fields", "allow_file_upload", "attr", "attr_translation_parameters", "auto_initialize", "block_name", "block_prefix", "by_reference", "compound", "constraints", "csrf_field_name", "csrf_message", "csrf_protection", "csrf_token_id", "csrf_token_manager", "data", "data_class", "disabled", "empty_data", "error_bubbling", "error_mapping", "extra_fields_message", "help", "help_attr", "help_html", "help_translation_parameters", "inherit_data", "invalid_message", "invalid_message_parameters", "label", "label_attr", "label_format", "label_translation_parameters", "mapped", "method", "post_max_size_message", "property_path", "required", "row_attr", "translation_domain", "trim", "upload_max_size_message", "validation_groups"."
Stacktrace:
#38 Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException in /data/vendor/symfony/form/ResolvedFormType.php:99
#37 Symfony\Component\OptionsResolver\Exception\UndefinedOptionsException in /data/vendor/symfony/options-resolver/OptionsResolver.php:798
#36 Symfony\Component\OptionsResolver\OptionsResolver:resolve in /data/vendor/symfony/form/ResolvedFormType.php:97
#35 Symfony\Component\Form\ResolvedFormType:createBuilder in /data/vendor/symfony/form/FormFactory.php:76
#34 Symfony\Component\Form\FormFactory:createNamedBuilder in /data/vendor/symfony/form/FormBuilder.php:94
#33 Symfony\Component\Form\FormBuilder:create in /data/vendor/symfony/form/FormBuilder.php:244
#32 Symfony\Component\Form\FormBuilder:resolveChildren in /data/vendor/symfony/form/FormBuilder.php:195
#31 Symfony\Component\Form\FormBuilder:getForm in /data/vendor/symfony/form/Extension/Core/Type/CollectionType.php:40
#30 Symfony\Component\Form\Extension\Core\Type\CollectionType:buildForm in /data/vendor/symfony/form/ResolvedFormType.php:128
#29 Symfony\Component\Form\ResolvedFormType:buildForm in /data/vendor/symfony/form/FormFactory.php:80
#28 Symfony\Component\Form\FormFactory:createNamedBuilder in /data/vendor/symfony/form/FormBuilder.php:94
#27 Symfony\Component\Form\FormBuilder:create in /data/vendor/symfony/form/FormBuilder.php:235
#26 Symfony\Component\Form\FormBuilder:resolveChild in /data/vendor/symfony/form/FormBuilder.php:110
#25 Symfony\Component\Form\FormBuilder:get in /data/vendor/spryker/cms-gui/src/Spryker/Zed/CmsGui/Communication/Form/Glossary/CmsGlossaryAttributesFormType.php:177
#24 Spryker\Zed\CmsGui\Communication\Form\Glossary\CmsGlossaryAttributesFormType:addTranslationsField in /data/vendor/spryker/cms-gui/src/Spryker/Zed/CmsGui/Communication/Form/Glossary/CmsGlossaryAttributesFormType.php:79
#23 Spryker\Zed\CmsGui\Communication\Form\Glossary\CmsGlossaryAttributesFormType:buildForm in /data/vendor/symfony/form/ResolvedFormType.php:128
#22 Symfony\Component\Form\ResolvedFormType:buildForm in /data/vendor/symfony/form/FormFactory.php:80
#21 Symfony\Component\Form\FormFactory:createNamedBuilder in /data/vendor/symfony/form/FormBuilder.php:94
#20 Symfony\Component\Form\FormBuilder:create in /data/vendor/symfony/form/Extension/Core/Type/CollectionType.php:39
#19 Symfony\Component\Form\Extension\Core\Type\CollectionType:buildForm in /data/vendor/symfony/form/ResolvedFormType.php:128
#18 Symfony\Component\Form\ResolvedFormType:buildForm in /data/vendor/symfony/form/FormFactory.php:80
#17 Symfony\Component\Form\FormFactory:createNamedBuilder in /data/vendor/symfony/form/FormBuilder.php:94
#16 Symfony\Component\Form\FormBuilder:create in /data/vendor/symfony/form/FormBuilder.php:235
#15 Symfony\Component\Form\FormBuilder:resolveChild in /data/vendor/symfony/form/FormBuilder.php:110
#14 Symfony\Component\Form\FormBuilder:get in /data/vendor/spryker/cms-gui/src/Spryker/Zed/CmsGui/Communication/Form/Glossary/CmsGlossaryFormType.php:67
#13 Spryker\Zed\CmsGui\Communication\Form\Glossary\CmsGlossaryFormType:addCmsGlossaryAttributeFormCollection in /data/vendor/spryker/cms-gui/src/Spryker/Zed/CmsGui/Communication/Form/Glossary/CmsGlossaryFormType.php:38
#12 Spryker\Zed\CmsGui\Communication\Form\Glossary\CmsGlossaryFormType:buildForm in /data/vendor/symfony/form/ResolvedFormType.php:128
#11 Symfony\Component\Form\ResolvedFormType:buildForm in /data/vendor/symfony/form/FormFactory.php:80
#10 Symfony\Component\Form\FormFactory:createNamedBuilder in /data/vendor/symfony/form/FormFactory.php:58
#9 Symfony\Component\Form\FormFactory:createBuilder in /data/vendor/symfony/form/FormFactory.php:30
#8 Symfony\Component\Form\FormFactory:create in /data/vendor/spryker/cms-gui/src/Spryker/Zed/CmsGui/Communication/CmsGuiCommunicationFactory.php:148
#7 Spryker\Zed\CmsGui\Communication\CmsGuiCommunicationFactory:getCmsGlossaryForm in /data/vendor/spryker/cms-gui/src/Spryker/Zed/CmsGui/Communication/CmsGuiCommunicationFactory.php:134
#6 Spryker\Zed\CmsGui\Communication\CmsGuiCommunicationFactory:createCmsGlossaryForm in /data/vendor/spryker/cms-gui/src/Spryker/Zed/CmsGui/Communication/Controller/CreateGlossaryController.php:120
#5 Spryker\Zed\CmsGui\Communication\Controller\CreateGlossaryController:getGlossaryForm in /data/vendor/spryker/cms-gui/src/Spryker/Zed/CmsGui/Communication/Controller/CreateGlossaryController.php:46
#4 Spryker\Zed\CmsGui\Communication\Controller\CreateGlossaryController:indexAction in /data/vendor/symfony/http-kernel/HttpKernel.php:146
#3 Symfony\Component\HttpKernel\HttpKernel:handleRaw in /data/vendor/symfony/http-kernel/HttpKernel.php:68
#2 Symfony\Component\HttpKernel\HttpKernel:handle in /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php:122
#1 Spryker\Shared\Application\Application:handle in /data/vendor/spryker/application/src/Spryker/Shared/Application/Application.php:103
#0 Spryker\Shared\Application\Application:run in /data/public/Zed/index.php:22
steep-receptionist-20341
02/17/2020, 8:35 AMsteep-receptionist-20341
02/17/2020, 8:35 AMsilly-motherboard-93855
02/17/2020, 12:37 PMsparse-kangaroo-34355
02/17/2020, 2:58 PMacoustic-whale-62254
02/18/2020, 8:03 AM<transition condition="Oms/CheckInvoiceAmount" happy="true">
<source>release</source>
<target>payment pending</target>
<event>check amount</event>
</transition>
<transition condition="Oms/CheckInvoiceAmount" happy="true">
<source>release</source>
<target>release order</target>
<event>check amount</event>
</transition>
And the condition class check function:
return $orderItem->getGrossPrice() > 500 ? true : false;
The result of the condition check always ends in the "release order" state.
Any suggestions?sparse-kangaroo-34355
02/18/2020, 11:33 AM$orderItem[1]->getNetPrice(); // returns 214390 -> 2143,90€ per item
Quantity 9:
$orderItem[1]->getNetPrice(); // returns 19490 -> 194,90€ per item
acoustic-motherboard-16553
02/19/2020, 7:36 AMTypeError - Argument 1 passed to Spryker\Shared\Kernel\Communication\Application::Spryker\Shared\Kernel\Communication\{closure}() must be an instance of Symfony\Cmf\Component\Routing\ChainRouter, instance of Spryker\Yves\Kernel\Application given, called in /var/www/spryker/releases/current/vendor/spryker/container/src/Spryker/Service/Container/Container.php on line 420
And if I remove the registerRouters() from YvesBootstrap in PYZ I get
Spryker\Service\Container\Exception\NotFoundException - The requested service "routers" was not found in the container!
acoustic-motherboard-16553
02/19/2020, 11:12 AMvendor/spryker/log/src/Spryker/Zed/Log/Communication/Plugin/Handler/AbstractHandlerPlugin.php
public function pushProcessor($callback): HandlerInterface
is incompatible with Interface vendor/monolog/monolog/src/Monolog/Handler/ProcessableHandlerInterface.php
public function pushProcessor(callable $callback): HandlerInterface
"spryker/log" 3.8.1
"monolog/monolog" 2.0.2
mysterious-king-59256
02/19/2020, 12:20 PMancient-apartment-59274
02/19/2020, 4:17 PM