https://www.spryker.com logo
Join Slack
Powered by
# help
  • c

    clean-painter-47981

    08/18/2021, 8:30 AM
    Hello, I am trying to display a requestBody as json (POST method) in Swagger. Unfortunately this does not work. I tried with schema in the annotations, but I don't get the requestTransferObject displayed in Swagger. With strings that I include in the parameter annotation, I have no problems. Also the responsebody is displayed in Swagger. Can anyone help me with this? Example:
    Copy code
    * @Glue({
    *     "post": {
    *          "summary": [
    *              "Search for rims"
    *          ],
    *          "parameters":[{
    *              "name":"requestBody",
    *              "in":"path",
    *              "required":true
    *          }],
    *          "responses": {
    *              "200":{"description":"OK"},
    *              "201":{"description":"Created"},
    *              "401":{"description":"Unauthorized"},
    *              "403":{"description":"Forbidden"},
    *              "404":{"description":"Not Found"}
    *          }
    *     }
    * })
  • s

    stocky-insurance-30459

    08/18/2021, 9:01 AM
    Anyone get this issue before ?.
    w
    • 2
    • 1
  • w

    witty-jordan-77597

    08/18/2021, 1:14 PM
    Hi all, has anyone an idea how I can generate the assets from e.g.
    CompanyUserGui/assets/…
    in this path I have js folder
    js/modules/my-function.js
    and
    js/vendor-zed-company-user-gui-main.entry.js
    with requires the modules js.
    Copy code
    'use strict';
    
    require('./modules/my-function');
    require('../sass/main.scss');
    I tried with to build with the watch for frontend and docker/sdk console frontendzedbuild has anyone an idea if I miss something or I’m just do anything the wrong way? Thanks for help.
    ✅ 1
    p
    w
    • 3
    • 5
  • a

    ancient-apartment-59274

    08/18/2021, 3:52 PM
    Hello, doing the migration https://documentation.spryker.com/docs/migration-guide-auth-module-to-securitygui-module There are some issues for me which might be helpful to others too First: There is no
    Copy code
    MailUserPasswordResetRequestHandlerPlugin
    and also no
    Copy code
    getUserPasswordResetRequestHandlerPlugins
    I guess its somehow confused with existing
    …StrategyPlugins
    method/plugin Also there is a step to remove old modules by running
    composer remove spryker/auth-mail-connector spryker/auth-mail-connector-extension
    But the
    spryker/user
    module still depends on this module in the latest version. But I doubt the user module gets removed somehow^^ So, no remove possible. Or do i miss something? 🤔 Unfortunately, the doc page in the doc repo isn’t reachable / not found for any reason. But if somebody has the same problems, that are my insights so far. Best
    👍 1
  • n

    nutritious-daybreak-34090

    08/18/2021, 6:29 PM
    Hi everyone, anyone knows if is there any way to manage Suppliers?, for example, I have the product "Coca Cola" and I want to assign the Supplier "Arca Continental" (This is who sell me the product) to that product. But I don't see any catalog for suppliers in zed or any way to assign Supplier to a Product, is there a module for this? Thanks for your help.
  • s

    strong-laptop-16773

    08/19/2021, 10:41 AM
    Question about OMS. I have an event that is manually triggered. Are there a possibility to somehow conditionally hide the button that triggers that event e.g. in case when user with specific role doesn't have to do that?
    a
    • 2
    • 1
  • s

    silly-lawyer-82804

    08/20/2021, 11:23 AM
    Hi everyone, I've got a problem with deploying environment.
    Copy code
    Symfony\Component\Filesystem\Exception\IOException - Exception: Failed to remove directory "/data/src/Orm/Propel/Schema/": rmdir(/data/src/Orm/Propel/Schema/): Directory not empty
    in /data/vendor/symfony/filesystem/Filesystem.php (181)
    
    Command: vendor/bin/console propel:schema:copy
    
    Trace:
    #0 /data/vendor/spryker/propel/src/Spryker/Zed/Propel/Business/Model/DirectoryRemover.php(35): Symfony\Component\Filesystem\Filesystem->remove(Array)
    #1 /data/vendor/spryker/propel/src/Spryker/Zed/Propel/Business/PropelFacade.php(28): Spryker\Zed\Propel\Business\Model\DirectoryRemover->execute()
    #2 /data/vendor/spryker/propel/src/Spryker/Zed/Propel/Communication/Console/SchemaCopyConsole.php(42): Spryker\Zed\Propel\Business\PropelFacade->cleanPropelSchemaDirectory()
    #3 /data/vendor/symfony/console/Command/Command.php(255): Spryker\Zed\Propel\Communication\Console\SchemaCopyConsole->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #4 /data/vendor/symfony/console/Application.php(1018): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #5 /data/vendor/symfony/console/Application.php(271): Symfony\Component\Console\Application->doRunCommand(Object(Spryker\Zed\Propel\Communication\Console\SchemaCopyConsole), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #6 /data/vendor/spryker/console/src/Spryker/Zed/Console/Communication/Bootstrap/ConsoleBootstrap.php(110): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #7 /data/vendor/symfony/console/Application.php(147): Spryker\Zed\Console\Communication\Bootstrap\ConsoleBootstrap->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #8 /data/vendor/spryker/console/bin/console(27): Symfony\Component\Console\Application->run()
    #9 {main}
    In CommandLineExecutable.php line 107:
    
      Aborted install...
    I ran it with root user using "su" command. What can cause the problem?
    s
    • 2
    • 3
  • r

    rapid-night-92661

    08/23/2021, 5:40 PM
    Hi everyone, I have a question, Is it a way in Spryker, to have for one abstract product, several values for the same attribute, f.ex. color green and red? And later on PCP I can search for one or several colors (only green or red, or both) using filter (how this part works on PCP I know). I saw that spryker use product group for colors, but I don’t want to really group products by some criteria, and don’t want for every color (or other multi value attributes) create a new abstract product. Every of the product can have from 1 to 30 colors (maybe some other multi value attributes), price in this case will be the same, For such products I just want that user can find product on PCP by search filter and can open PDP and see these attributes. After it on PDP order will be finished using another solution from different system (requirements). If multi value attribute will work we will have max. 10-20k products. I don’t want to have total amount of 1 million abstract products, for every possible product to attribute value combination.
    a
    l
    c
    • 4
    • 23
  • i

    icy-hydrogen-3905

    08/24/2021, 9:57 AM
    Hey there, there Spryker b2b is a weird behaviour when creating and deleting shopping lists. When creating a shopping list for example. the page reloads. But after that the information in the header is still not updated. I have to wait for a while and keep reloading. At some point the informations get updated, but seems like some stuff in the background takes too long. Any ideas here? Thank you
    p
    • 2
    • 4
  • c

    clean-painter-47981

    08/24/2021, 12:20 PM
    Hi, i dont find a solution for this exception. LogicException - Exception: Unable to register extension "Symfony\Bridge\Twig\Extension\TranslationExtension" as it is already registered. in /data/vendor/twig/twig/src/ExtensionSet.php (124) Command: /data/vendor/bin/console Scheduler:setup Can someone help me? Stacktrace: Trace: #0 /data/vendor/twig/twig/src/Environment.php(582): Twig\ExtensionSet->addExtension(Object(Symfony\Bridge\Twig\Extension\TranslationExtension)) #1 /data/vendor/spryker/translator/src/Spryker/Zed/Translator/Communication/Plugin/Twig/TranslatorTwigPlugin.php(35): Twig\Environment->addExtension(Object(Symfony\Bridge\Twig\Extension\TranslationExtension)) #2 /data/vendor/spryker/twig/src/Spryker/Zed/Twig/Communication/Plugin/Application/TwigApplicationPlugin.php(89): Spryker\Zed\Translator\Communication\Plugin\Twig\TranslatorTwigPlugin->extend(Object(Twig\Environment), Object(Spryker\Shared\Kernel\Container\ContainerProxy)) #3 /data/vendor/spryker/twig/src/Spryker/Zed/Twig/Communication/Plugin/Application/TwigApplicationPlugin.php(57): Spryker\Zed\Twig\Communication\Plugin\Application\TwigApplicationPlugin->extendTwig(Object(Twig\Environment), Object(Spryker\Shared\Kernel\Container\ContainerProxy)) #4 /data/vendor/spryker/container/src/Spryker/Service/Container/Container.php(273): Spryker\Zed\Twig\Communication\Plugin\Application\TwigApplicationPlugin->Spryker\Zed\Twig\Communication\Plugin\Application\{closure}(Object(Spryker\Shared\Kernel\Container\ContainerProxy)) #5 /data/vendor/spryker/container/src/Spryker/Service/Container/Container.php(210): Spryker\Service\Container\Container->getService('twig') #6 /data/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Container/GlobalContainer.php(54): Spryker\Service\Container\Container->get('twig') #7 /data/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Container/AbstractApplicationContainer.php(37): Spryker\Shared\Kernel\Container\GlobalContainer->get('twig') #8 /data/vendor/spryker/scheduler-jenkins/src/Spryker/Zed/SchedulerJenkins/SchedulerJenkinsDependencyProvider.php(74): Spryker\Shared\Kernel\Container\AbstractApplicationContainer->getApplicationService('twig') #9 /data/vendor/spryker/container/src/Spryker/Service/Container/Container.php(273): Spryker\Zed\SchedulerJenkins\SchedulerJenkinsDependencyProvider->Spryker\Zed\SchedulerJenkins\{closure}(Object(Spryker\Zed\Kernel\Container)) #10 /data/vendor/spryker/container/src/Spryker/Service/Container/Container.php(210): Spryker\Service\Container\Container->getService('TWIG_ENVIRONMEN...') #11 /data/vendor/spryker/kernel/src/Spryker/Zed/Kernel/BundleDependencyProviderResolverAwareTrait.php(54): Spryker\Service\Container\Container->get('TWIG_ENVIRONMEN...') #12 /data/vendor/spryker/scheduler-jenkins/src/Spryker/Zed/SchedulerJenkins/Business/SchedulerJenkinsBusinessFactory.php(255): Spryker\Zed\Kernel\AbstractFactory->getProvidedDependency('TWIG_ENVIRONMEN...') #13 /data/vendor/spryker/scheduler-jenkins/src/Spryker/Zed/SchedulerJenkins/Business/SchedulerJenkinsBusinessFactory.php(136): Spryker\Zed\SchedulerJenkins\Business\SchedulerJenkinsBusinessFactory->getTwigEnvironment() #14 /data/vendor/spryker/scheduler-jenkins/src/Spryker/Zed/SchedulerJenkins/Business/SchedulerJenkinsBusinessFactory.php(159): Spryker\Zed\SchedulerJenkins\Business\SchedulerJenkinsBusinessFactory->createXmkJenkinsJobTemplateGenerator() #15 /data/vendor/spryker/scheduler-jenkins/src/Spryker/Zed/SchedulerJenkins/Business/SchedulerJenkinsBusinessFactory.php(63): Spryker\Zed\SchedulerJenkins\Business\SchedulerJenkinsBusinessFactory->createUpdateExecutor() #16 /data/vendor/spryker/scheduler-jenkins/src/Spryker/Zed/SchedulerJenkins/Business/SchedulerJenkinsFacade.php(31): Spryker\Zed\SchedulerJenkins\Business\SchedulerJenkinsBusinessFactory->createSchedulerJenkinsSetup() #17 /data/vendor/spryker/scheduler-jenkins/src/Spryker/Zed/SchedulerJenkins/Communication/Plugin/Adapter/SchedulerJenkinsAdapterPlugin.php(32): Spryker\Zed\SchedulerJenkins\Business\SchedulerJenkinsFacade->setupJenkins(Object(Generated\Shared\Transfer\SchedulerScheduleTransfer)) #18 /data/vendor/spryker/scheduler/src/Spryker/Zed/Scheduler/Business/Command/SchedulerSetupCommand.php(26): Spryker\Zed\SchedulerJenkins\Communication\Plugin\Adapter\SchedulerJenkinsAdapterPlugin->setup(Object(Generated\Shared\Transfer\SchedulerScheduleTransfer)) #19 /data/vendor/spryker/scheduler/src/Spryker/Zed/Scheduler/Business/Command/AbstractSchedulerCommand.php(53): Spryker\Zed\Scheduler\Business\Command\SchedulerSetupCommand->executeCommand(Object(Spryker\Zed\SchedulerJenkins\Communication\Plugin\Adapter\SchedulerJenkinsAdapterPlugin), Object(Generated\Shared\Transfer\SchedulerScheduleTransfer)) #20 /data/vendor/spryker/scheduler/src/Spryker/Zed/Scheduler/Business/SchedulerFacade.php(52): Spryker\Zed\Scheduler\Business\Command\AbstractSchedulerCommand->execute(Object(Generated\Shared\Transfer\SchedulerFilterTransfer)) #21 /data/vendor/spryker/scheduler/src/Spryker/Zed/Scheduler/Communication/Console/SchedulerSetupConsole.php(70): Spryker\Zed\Scheduler\Business\SchedulerFacade->setup(Object(Generated\Shared\Transfer\SchedulerFilterTransfer)) #22 /data/vendor/symfony/console/Command/Command.php(255): Spryker\Zed\Scheduler\Communication\Console\SchedulerSetupConsole->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #23 /data/vendor/symfony/console/Application.php(1027): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #24 /data/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Spryker\Zed\Scheduler\Communication\Console\SchedulerSetupConsole), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #25 /data/vendor/spryker/console/src/Spryker/Zed/Console/Communication/Bootstrap/ConsoleBootstrap.php(111): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #26 /data/vendor/symfony/console/Application.php(149): Spryker\Zed\Console\Communication\Bootstrap\ConsoleBootstrap->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #27 /data/vendor/spryker/console/bin/console(27): Symfony\Component\Console\Application->run()
    ✅ 1
    • 1
    • 1
  • a

    astonishing-lamp-41374

    08/24/2021, 6:37 PM
    couple of spelling errors in docs https://github.com/spryker/documentation/pull/321 https://github.com/spryker/documentation/pull/322
    🙏 1
    thank you 1
    • 1
    • 1
  • l

    little-secretary-81579

    08/25/2021, 8:14 AM
    Hi all, is it possible to define index mappings per environment for Elasticsearch? As per this doc: https://documentation.spryker.com/docs/search-configure-elasticsearch you can prefix you configuration files with store (e.g. de_page.json) to only use it for this specific store. However we make use of synonyms and our staging and production environment use Amazon Elasticsearch Service where you need to refer to Package Ids in your configuration file if you want to make use of a synonym file (see https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/custom-packages.html#custom-packages-using). This will of course fail locally. The easiest solution for us would be if we can make the configuration files to be used depending on the environment. Maybe there is also a different approach which you could think of. Help much appreciated.
    f
    • 2
    • 3
  • q

    quaint-midnight-78937

    08/25/2021, 8:53 AM
    Hello! Since the latest update of the Merchant-Portal dependencies I am unable to log into it. I've updated all dependencies, updated
    docker/sdk
    to version
    1.39.2
    (meaning that I now use a separate endpoint
    <http://mp.de|mp.de>.spryker.local
    ) and also added the
    MerchantPortalApplication
    as well as
    MerchantPortalBootstrap
    to the codebase. So I can see that the frontend is properly building into the
    public/MerchantPortal
    folder. It also create the proper routes in
    Generated/Router/MerchantPortal/codeBucketDE/url_matching_routes.php
    . However, when I want to enter the login screen, I am always redirected to
    acl/index/denied
    . So, it looks that it is an ACL configuration issue but it's strange because I'm not even able to navigate to this page at all. Does anybody had a similar issue?
  • c

    chilly-rainbow-75540

    08/25/2021, 9:16 AM
    Hello. Can someone explain to me what’s is
    shipmentGroup
    exactly and how to add new one to the collection? In ZED i can only add shipping methods and creating carrier companies. Nothing much about shipping groups and how to handle it. Thanks for any information about it!
  • l

    lemon-magazine-17731

    08/25/2021, 9:30 AM
    Hello All, While doing composer install i am getting the below error, why this error occurs and what is the solution for this?
  • f

    flaky-smartphone-7177

    08/25/2021, 10:32 AM
    https://sprykercommunity.slack.com/archives/C01EGSU01EE/p1629388673002100 Same problem. I could not resolve too.
  • s

    silly-lawyer-82804

    08/25/2021, 11:22 AM
    Hello everyone! I'm working on windows. I have a problem, my project doesn't apply any changes I'm doing. I'm doing
    docker/sdk start
    than
    npm run yves:watch
    , make some changes and the console doesn't seem to register any changes, the page doesn't change after refreshing. Even rebuilding the project doesn't make any difference. I deleted "Generated" folder, did
    docker/sdk cli console cache:empty-all
    than
    docker/sdk cli console transfer:generate
    , restarted the project, did
    npm run yves:watch
    again. Also tried
    npm run yves:development:esm
    . Nothing helped. Does anybody have any suggestions?
    p
    c
    • 3
    • 4
  • a

    ancient-apartment-59274

    08/25/2021, 1:38 PM
    Hello, does somebody know if there is any possibility to make a public accessible page in sprykers zed backend? As far as i know, the only page that is accessible without beeing authenticated is the login page itself. But since the symfony firewall points as “login_path” option to it, this route is automatic public to not authenticated users due to some magic symfony logic in the background… We want to redirect a user to a zed-hosted information page where he gets infos how to get access to the backend (“Please contact admin bla bla … “) … but for my actual understanding, this page must be accessible to not authenticated users. We tried to add the route to the ignorable pattern of the security plugins config but it seems not to have any effect … the guard always tries to authenticate the user when he want to access that specific route. Last option would be to add another firewall for only this one page… but would really like to avoid that … Any ideas? Best
    f
    m
    • 3
    • 7
  • n

    numerous-notebook-85587

    08/26/2021, 8:16 AM
    👋 I’m here! What’d I miss?
  • g

    gentle-architect-75453

    08/26/2021, 11:53 AM
    Hi all, We encountered a bug - but we are not sure whether someone already solved this problem, or whether it is already a known issue. Maybe you know a work around? When a default Image Set is attached to an abstract product (so not separated by language) the Sort order does not work on the PDP. When the Image Sets are separated by language it does work on the PDP. Do you know how to fix this? 🙂 I think it is better to fix this bug rather than attaching the same images to x languages. And yes same behaviour in the demo shop b2b 🙂 Cheers and thanks, Sarah
    a
    • 2
    • 13
  • a

    ancient-apartment-59274

    08/26/2021, 1:19 PM
    Hello, assuming having a Client on Client layer with several methods … how to “reuse” this client on both Zed and Yves layer when they behave the same but just differ in few configuration stuff? For example an Oauth token client for an external auth provider generally behave the same for spryker frontend but also for spryker backend … they just have a different redirect URI for example … so it depends “who” is using the client I would prefer on yves to get a “frontend oauth client” and on backend some “backend oauth client” holding already the correct configs for the both use cases … but doing this means copy things to two different modules, or doesn’t it? For me, i dont see a neat solution to have two clients which just differ in few config stuff … • its not possible to add another client in the same client module -> getLocator()->module()->client() will always resolve as only one client • having two modules mean copying all the stuff and just change the few params • adding a “context” to every client method (to decide for a appropriate config) is not really a neat solution to me^^ • also adding a duplicate client method like doFrontendStuff() and doBackendStuff seems not really a good solution to me^^ Do i miss something? 🤔 Cant resolve this thing at the moment but it might be that i overlook something important …
    w
    • 2
    • 13
  • a

    ancient-apartment-59274

    08/27/2021, 7:51 AM
    Good morning, between Yves and Zed … is there some kind of session data that can be used to identify the “client” that is performing the gateway call? Or is it a complete new session everytime the client calls the backend? Background: In our yves frontend on login the app requests a redirect link to an external oauth server login from the zed backend via client layer. There is a state param generated in Zed that have to be represented after the login process again to zed. Usually this param is saved in the session and thrown away when the session is gone. But in spryker when user is redirected to the shop again, it seems, a complete new session is opened on backend calls and therefore no state param can be found in it … any idea how to “resume” the session for the frontend client again to reach my state param? Ohterwise, I really dont want to implement complete persistence/sanitizing logic just for one string 😕 Any ideas? Best
    l
    m
    • 3
    • 22
  • s

    strong-winter-32294

    08/27/2021, 12:48 PM
    Hello folks, i have the problem that one spryker-setup has problems with processing the sync.search.product queue, but only on one environment. The messages swing between Ready and Unacked in RabbitMQ's Queue-Overview all the time, but total number does not decrease in general. No error-queue-items are generated in the meantime. Does anyone has a hint why could this happen or how to debug this?
    m
    • 2
    • 2
  • p

    polite-lunch-97479

    08/27/2021, 1:14 PM
    How would you republish all urls? I truncated my spy_url_storage table and need to repopulate and publish. Tried
    docker/sdk console publish:trigger-events -r url
    but it doesn't do the job. Table is still empty.
    m
    • 2
    • 4
  • m

    microscopic-spoon-7123

    08/27/2021, 2:32 PM
    Hi! Maybe someone know: how can i call some client method without implementing client call into Zed/Yves/Glue. I just want to test method output before implementing it. I have an idea just create some test page in zed/yves and call in controller what i need, but it seems too complicated
    l
    • 2
    • 7
  • r

    ripe-spring-57685

    08/30/2021, 9:27 AM
    Hello everyone. Does anybody know an easy way to open the local Yves frontend on another device? I would like to test my current local implementation on my phone. Perhaps I can access the frontend through a particular port? Or maybe there is a way to forward the yves url? Thank you very much in advance for your help :).
    w
    l
    • 3
    • 9
  • m

    microscopic-spoon-7123

    08/30/2021, 1:41 PM
    Hello! I've created my test and trying to run it. But i getting error " [PHPUnit\Framework\Exception] Use of undefined constant APPLICATION_ENV - assumed 'APPLICATION_ENV' (this will throw an Error in a future version of PHP) ". Someone know how to fix it?
    f
    • 2
    • 2
  • a

    ancient-megabyte-55629

    08/31/2021, 1:55 PM
    Hello All, I am trying to implement the Glue API at the shop and I have been looking at the documentation and does not seem to have this information I need. So I need to be able to do Machine-to-Machine communication, so authenticating as a customer, although possible, is not what I want. I want the client to have its own credentials and connect using these. Any one with an idea how to do this?
  • a

    adventurous-raincoat-66045

    08/31/2021, 7:59 PM
    Howdy folks, I'm having an issue with the AWS setup for one of our clients. I went to https://spryker.force.com to file a Hosting Change Request but it requires me to log in. Since I don't have an account and it seems impossible for me to find a sign-up form I would really appreciate some help with that. Does anyone know how to do it? Thanks in advance
    p
    • 2
    • 8
  • n

    nutritious-angle-64267

    09/01/2021, 10:09 AM
    Hi All, I have setup my SMTP credentials in config file for starting mail service in my b2b shop but when i am trying to create a new customer in that process its returning this error while sending Registration token mail. Any suggestions on this how can i start mail sending service ?
    m
    • 2
    • 2
1...444546...102Latest