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

    wide-wolf-99519

    02/22/2021, 12:32 PM
    is there a place in documentation which describes good practices when it comes to error handling and reporting inside event listeners? I'm asking this question because I have event listener which sends requests to an external API and would like to know what to do if API returns error response
    s
    l
    • 3
    • 9
  • m

    mysterious-pencil-76046

    02/22/2021, 12:52 PM
    Hey! Is someone experienced with using a second/external rabbitmq server? Is that possible? How to configure this additional connection in general and for docker/sdk? Thanks in advance!
  • i

    icy-sundown-8018

    02/22/2021, 3:57 PM
    Hello everyone, we are playing around with some AJAX content. Therefore we are using Ajax-Provider and Ajax-Renderer to place new content in the DOM. https://github.com/spryker-shop/shop-ui/blob/master/src/SprykerShop/Yves/ShopUi/Theme/default/components/molecules/ajax-provider/ajax-provider.ts https://github.com/spryker-shop/shop-ui/blob/master/src/SprykerShop/Yves/ShopUi/Theme/default/components/molecules/ajax-renderer/ajax-renderer.ts Afterwards we need to call the application mount() function to register new Components as Custom Elements. https://github.com/spryker-shop/shop-ui/blob/master/src/SprykerShop/Yves/ShopUi/Theme/default/app/index.ts#L75   This seems to work fine with just one new component at a time. But if there are multiple AJAX calls which contains the same new component, the mount() functions run sometimes into the following error:
    Copy code
    application error -> Error: component1 failed to be defined
    Failed to execute 'define' on 'CustomElementRegistry': the name "component1" has already been used with this registry
       at candidate.ts:53
       at Generator.next (<anonymous>)
       at asyncGeneratorStep
    https://github.com/spryker-shop/shop-ui/blob/master/src/SprykerShop/Yves/ShopUi/Theme/default/app/candidate.ts#L53 Any ideas how we can ensure that the new component is only once submitted as a new candidate?
    d
    • 2
    • 5
  • b

    big-lifeguard-33394

    02/23/2021, 6:59 AM
    When i am using the b2c shop suddenly the frontend and backend get error with "Connection refused [tcp://127.0.0.1:10009] " i don't know why., can anyone help to resolve this issue.,
    h
    b
    • 3
    • 2
  • h

    happy-addition-42792

    02/23/2021, 9:23 AM
    I have an issue with the generated transfers. After switching branches I run
    docker/sdk build codebase
    . After that I get random errors like
    Error Class 'Generated\Shared\Transfer\RedisConfigurationTransfer' not found
    . What I noticed is that after
    Copy code
    Section build
    
    Command generate-transfers [vendor/bin/console transfer:generate] (1.31s)
    ALL the transfer are properly generated but then as
    docker/sdk build codebase
    continues the same command runs again
    Copy code
    Section build-development
    Command generate-transfer-databuilders [vendor/bin/console transfer:databuilder:generate] (1.18s)
    and some of them are missing
    r
    • 2
    • 7
  • s

    strong-appointment-20631

    02/23/2021, 9:29 AM
    Hi, I have an issue with breadcrumbs on PDP, the main category and the sub category is swapped. Actually the categories are stored in wrong order in the storage. Does anyone have the same issue? I have spryker/product-category-storage v1.8.0 The latest is 2.0.0 but I have not seen any hint for fixing in the repository (if It’s an issue with the module)
    a
    h
    • 3
    • 5
  • a

    ancient-apartment-59274

    02/24/2021, 9:05 AM
    Hello again 🙂 when using the step engine in yves, there is a last “successStep” which will display a “thank you for your order” phrase. We want also to display the order number of the current finished order. Unfortunately, the success execute step clears the quote before the getTemplateVariables() method gets called. So we have no order reference anymore. Question: Is there some elegant way to get the last order reference anyway without extensive changes? Any “getLastOrder” functionality or something like this? Best regards
    m
    • 2
    • 31
  • d

    damp-tailor-13900

    02/24/2021, 2:24 PM
    Hello! Can someone tell me why getCategoryByKey in the CategoryTreeReader is deprecated and how I am supposed to find categories by their keys in the future?
    m
    • 2
    • 1
  • a

    ancient-apartment-59274

    02/24/2021, 3:33 PM
    Hello, i noticed that there is a new version of the module “category” i tried to update. It is 5.0 but the category-gui module depends as before on >4.0 <5.0. Is the category-gui just not adjusted yet or is it not planned to support category-gui “as it is” in future anymore? Or is it still under construction right now? Best regards
    a
    m
    d
    • 4
    • 42
  • w

    wooden-dress-65386

    02/24/2021, 4:30 PM
    Hey guys, I have a very deep technical question, but I hope maybe someone here can help me. Here on the OrderStateMachine, the reservation will be updated for an item that is in the OMS and stays on the same OMS state and the target state is reserved. Why is that? Why should the reservation be updated if the state stays the same? This is creating a lot of problems in our project, because the reservation is unneedingly being updated several times during the OMS process, hugely slowing down everything (details about this maybe later). Does anyone have an idea? Or is it a bug and it should be
    $sourceState !== $targetState
    ? 😮
    g
    • 2
    • 1
  • m

    mysterious-spring-57104

    02/25/2021, 8:32 AM
    Hey guys, I have a question about search boosting. I would like the catalog to display products with an attribute 'featured' (possible values: 0, 1) first if the value equals to 1. I used the guide below to boost the search but I am now stuck because I do not really know how I can boost a specific product attribute. Has anyone else done something similar before? I think I need to change the ElasticSearch MultiMatch Search Query. Currently it looks like this:
    Copy code
    return (new MultiMatch())
                ->setFields([
                    'attributes.featured',
                ])
                ->setQuery($searchString)
                ->setType(MultiMatch::TYPE_PHRASE);
    The searchString would be 1. https://documentation.spryker.com/docs/boosting-cart-based-search
  • h

    happy-addition-42792

    02/26/2021, 12:52 PM
    Hi everyone, how can I create a self-referencing one-to-one relationship?
    Copy code
    <table name="spy_tax_rate">
            <column name="fk_parent_tax_rate" type="INTEGER" required="false"/>
    
            <foreign-key name="spy_tax_rate-fk_parent_tax_rate" foreignTable="spy_tax_rate" phpName="ParentTaxRate" refPhpName="ChildTaxRate">
                <reference local="fk_parent_tax_rate" foreign="id_tax_rate"/>
            </foreign-key>
    </table>
    creates a one-to-many relationship.
    i
    • 2
    • 12
  • h

    happy-addition-42792

    03/01/2021, 11:49 AM
    Hi guys, in our B2B shop we want to allow B2C customers to purchase as well. So far everything is working BUT placing in order. This requires the
    PlaceOrderWithAmountUpToPermissionPlugin
    permission which comes from the CompanyRule package. Is there any way we can enable B2C customers to purchase in a B2B shop?
    s
    m
    • 3
    • 3
  • c

    calm-family-20079

    03/01/2021, 4:44 PM
    Hi everyone, my colleagues have made me aware of the following bug: After switching to the code view in the DemoShop's WYSIWYG editor in Zed, the text is barely readable (dark grey text on a dark grey background). Is this a known bug/is there a fix for it? I also just created a Support Case for it. Thanks, Florian
    a
    • 2
    • 3
  • n

    numerous-ghost-43588

    03/02/2021, 5:41 AM
    Hello Team, could you please help how can we implement SSO for Spryker. We have a requirement from client to implement sso for agent's access.
    w
    w
    m
    • 4
    • 5
  • m

    mammoth-painting-63509

    03/02/2021, 9:16 AM
    Hi there is it possible to define a filename in a
    OutputStreamPlugin
    and use that same generated name in a
    PostProcessorHookPlugin
    in the Middleware?
    • 1
    • 1
  • p

    plain-orange-13157

    03/02/2021, 12:44 PM
    Copy code
    Store: CH | Environment: devlocal
    Build propel models
    You are running propel with xdebug enabled. This has a major impact on runtime performance.
    
    Fatal error: require(): Failed opening required 'APPLICATION_ROOT_DIR/config/Shared/stores.php' (include_path='/srv/xyz/spryker/vendor/spryker/event-behavior/src:/srv/xyz/spryker/vendor/spryker/synchronization-behavior/src:.:/usr/local/lib/php') in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 162
    
    Call Stack:
        0.0006     349840   1. {main}() /srv/xyz/spryker/vendor/propel/propel/bin/propel:0
        0.0007     350592   2. require('/srv/xyz/spryker/vendor/propel/propel/bin/propel.php') /srv/xyz/spryker/vendor/propel/propel/bin/propel:4
        0.0821     867824   3. Propel\Generator\Application->run() /srv/xyz/spryker/vendor/propel/propel/bin/propel.php:30
        0.0902     956528   4. Propel\Generator\Application->doRun() /srv/xyz/spryker/vendor/symfony/console/Application.php:148
        0.0903     957032   5. Propel\Generator\Application->doRun() /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Application.php:17
        0.0909     961728   6. Propel\Generator\Application->doRunCommand() /srv/xyz/spryker/vendor/symfony/console/Application.php:255
        0.0910     961728   7. Propel\Generator\Command\ModelBuildCommand->run() /srv/xyz/spryker/vendor/symfony/console/Application.php:992
        0.0914     964776   8. Propel\Generator\Command\ModelBuildCommand->execute() /srv/xyz/spryker/vendor/symfony/console/Command/Command.php:255
        0.1177    2344856   9. Propel\Generator\Manager\ModelManager->build() /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Command/ModelBuildCommand.php:133
        0.1177    2344856  10. Propel\Generator\Manager\ModelManager->getDataModels() /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Manager/ModelManager.php:45
        0.1177    2344856  11. Propel\Generator\Manager\ModelManager->loadDataModels() /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Manager/AbstractManager.php:151
        0.5639    7968328  12. Propel\Generator\Model\Schema->doFinalInitialization() /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Manager/AbstractManager.php:338
        0.5639    7968328  13. Propel\Generator\Model\Database->doFinalInitialization() /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Model/Schema.php:247
        0.6044    8159304  14. Spryker\Zed\SynchronizationBehavior\Persistence\Propel\Behavior\SynchronizationBehavior->modifyTable() /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Model/Database.php:811
        0.6048    8161840  15. Spryker\Zed\SynchronizationBehavior\Persistence\Propel\Behavior\SynchronizationBehavior->shouldAddAliasKeysColumn() /srv/xyz/spryker/vendor/spryker/synchronization-behavior/src/Spryker/Zed/SynchronizationBehavior/Persistence/Propel/Behavior/SynchronizationBehavior.php:201
        0.6048    8161840  16. Spryker\Zed\SynchronizationBehavior\Persistence\Propel\Behavior\SynchronizationBehavior->getConfig() /srv/xyz/spryker/vendor/spryker/synchronization-behavior/src/Spryker/Zed/SynchronizationBehavior/Persistence/Propel/Behavior/SynchronizationBehavior.php:1111
        0.6048    8161840  17. Spryker\Zed\SynchronizationBehavior\Persistence\Propel\Behavior\SynchronizationBehavior->resolveBundleConfig() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Zed/Kernel/BundleConfigResolverAwareTrait.php:38
        0.6053    8165680  18. Spryker\Zed\Kernel\ClassResolver\Config\BundleConfigResolver->resolve() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Zed/Kernel/BundleConfigResolverAwareTrait.php:50
        0.6058    8168016  19. Spryker\Zed\Kernel\ClassResolver\Config\BundleConfigResolver->canResolve() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Zed/Kernel/ClassResolver/Config/BundleConfigResolver.php:26
        0.6059    8168208  20. Spryker\Zed\Kernel\ClassResolver\Config\BundleConfigResolver->buildClassNames() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/ClassResolver/AbstractClassResolver.php:84
        0.6059    8168208  21. Spryker\Zed\Kernel\ClassResolver\Config\BundleConfigResolver->addProjectClassNames() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/ClassResolver/AbstractClassResolver.php:155
        0.6062    8168320  22. Spryker\Shared\Kernel\Store::getInstance() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/ClassResolver/AbstractClassResolver.php:168
        0.6062    8168608  23. Spryker\Shared\Kernel\Store->__construct() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php:111
        0.6064    8168656  24. Spryker\Shared\Kernel\Store->initializeSetup() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php:132
        0.6064    8168656  25. Spryker\Shared\Kernel\Store->getStoreSetup() /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php:180
  • p

    plain-orange-13157

    03/02/2021, 12:44 PM
    Hey 👋 , I'm currently working with an older spryker version. We can not easily update to a newer version but we want to install the Glue. The versions:
    Copy code
    php:7.4-fpm-alpine3.12
    
    "name": "spryker/kernel",
    "version": "3.34.0",
    
    "name": "spryker/glue-application",
    "version": "1.26.1",
    
    "name": "spryker/categories-rest-api",
    "version": "1.5.0",
    There are no dependency problems while installing the glue-application and the categories-rest-api. If I run "`propel:install`" or more specific "`propelmodelbuild`" I get some errors. It seems there is a problem with
    APPLICATION_ENV
    ,
    APPLICATION_STORE
    and
    APPLICATION_ROOT_DIR
    . If I debug the "`propelmodelbuild`" command
    APPLICATION_STORE
    = 'APPLICATION_STORE' for example. If I remove the categories-rest-api module everything works. So the glue-application module seems to work. We use Touch Tables and not the event-based Publish and Sync. Any ideas?
    Copy code
    Store: CH | Environment: devlocal
    Build propel models
    
    Deprecated: Array and string offset access syntax with curly braces is deprecated in /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Builder/Util/SchemaReader.php on line 190
    PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /srv/xyz/spryker/vendor/propel/propel/src/Propel/Generator/Builder/Util/SchemaReader.php on line 190
    
    Warning: Use of undefined constant APPLICATION_ENV - assumed 'APPLICATION_ENV' (this will throw an Error in a future version of PHP) in /srv/xyz/spryker/vendor/spryker/config/src/Spryker/Shared/Config/Environment.php on line 97
    PHP Warning:  Use of undefined constant APPLICATION_ENV - assumed 'APPLICATION_ENV' (this will throw an Error in a future version of PHP) in /srv/xyz/spryker/vendor/spryker/config/src/Spryker/Shared/Config/Environment.php on line 97
    
    Warning: Use of undefined constant APPLICATION_STORE - assumed 'APPLICATION_STORE' (this will throw an Error in a future version of PHP) in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 131
    
    Warning: Use of undefined constant APPLICATION_ROOT_DIR - assumed 'APPLICATION_ROOT_DIR' (this will throw an Error in a future version of PHP) in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 162
    PHP Warning:  Use of undefined constant APPLICATION_STORE - assumed 'APPLICATION_STORE' (this will throw an Error in a future version of PHP) in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 131
    PHP Warning:  Use of undefined constant APPLICATION_ROOT_DIR - assumed 'APPLICATION_ROOT_DIR' (this will throw an Error in a future version of PHP) in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 162
    
    Warning: require(APPLICATION_ROOT_DIR/config/Shared/stores.php): failed to open stream: No such file or directory in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 162
    
    Fatal error: require(): Failed opening required 'APPLICATION_ROOT_DIR/config/Shared/stores.php' (include_path='/srv/xyz/spryker/vendor/spryker/event-behavior/src:/srv/xyz/spryker/vendor/spryker/synchronization-behavior/src:.:/usr/local/lib/php') in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 162
    PHP Warning:  require(APPLICATION_ROOT_DIR/config/Shared/stores.php): failed to open stream: No such file or directory in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 162
    PHP Fatal error:  require(): Failed opening required 'APPLICATION_ROOT_DIR/config/Shared/stores.php' (include_path='/srv/xyz/spryker/vendor/spryker/event-behavior/src:/srv/xyz/spryker/vendor/spryker/synchronization-behavior/src:.:/usr/local/lib/php') in /srv/xyz/spryker/vendor/spryker/kernel/src/Spryker/Shared/Kernel/Store.php on line 162
  • a

    astonishing-lamp-41374

    03/03/2021, 12:13 AM
    I'm guessing this has something to do with me not understanding what the database needs to operate correctly, possible regarding locales ? https://github.com/ed42311/spryker-antelope/tree/example-product
    Copy code
    /data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Business/Process/Processor.php
    this is where it throws, so there must be some configuration that it is aware of, question is, what is it looking for exactly?
  • a

    astonishing-lamp-41374

    03/03/2021, 12:13 AM
    Copy code
    {
      "@timestamp": "2021-03-03T00:00:58.637524+00:00",
      "@version": 1,
      "host": "b6faa09ba9b5",
      "message": "Middleware process was stopped. Non tolerable error was occurred.",
      "type": "ZED",
      "channel": "SprykerMiddleware",
      "level": "ERROR",
      "monolog_level": 400,
      "extra": {
        "file": "/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Business/Process/Processor.php",
        "line": 126,
        "class": "SprykerMiddleware\\Zed\\Process\\Business\\Process\\Processor",
        "function": "process"
      },
      "context": {
        "exception": {
          "class": "Spryker\\Zed\\DataImport\\Business\\Exception\\DataSetBrokerTransactionFailedException",
          "message": "The key \"name.de_DE\" was not found in data set. Available keys: \"concrete_sku, abstract_sku, name, attributes, locales\"",
          "code": 0,
          "file": "/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataSet/DataSetStepBrokerTransactionAware.php:59",
          "trace": [
            "/data/src/Pyz/Zed/DataImport/Business/Importer/ProductConcreteDataImporter.php:55",
            "/data/src/Pyz/Zed/DataImport/Business/DataImportFacade.php:225",
            "/data/src/Pyz/Zed/DataImport/Communication/Plugin/ExampleProductMiddlewareConnector/ExampleProductImporterPlugin.php:22",
            "/data/src/Pyz/Zed/ExampleProductMiddlewareConnector/Business/Stream/DataImportWriteStream.php:92",
            "/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Business/Process/Processor.php:123",
            "/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Business/ProcessFacade.php:166",
            "/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Communication/Console/ProcessConsole.php:180",
            "/data/vendor/symfony/console/Command/Command.php:255",
            "/data/vendor/symfony/console/Application.php:1018",
            "/data/vendor/symfony/console/Application.php:271",
            "/data/vendor/spryker/console/src/Spryker/Zed/Console/Communication/Bootstrap/ConsoleBootstrap.php:110",
            "/data/vendor/symfony/console/Application.php:147",
            "/data/vendor/spryker/console/bin/console:27"
          ],
          "previous": {
            "class": "Spryker\\Zed\\DataImport\\Business\\Exception\\DataKeyNotFoundInDataSetException",
            "message": "The key \"name.de_DE\" was not found in data set. Available keys: \"concrete_sku, abstract_sku, name, attributes, locales\"",
            "code": 0,
            "file": "/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataSet/DataSet.php:25",
            "trace": [
              "/data/src/Pyz/Zed/DataImport/Business/Model/Product/ProductLocalizedAttributesExtractorStep.php:63",
              "/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataSet/DataSetStepBroker.php:46",
              "/data/vendor/spryker/data-import/src/Spryker/Zed/DataImport/Business/Model/DataSet/DataSetStepBrokerTransactionAware.php:54",
              "/data/src/Pyz/Zed/DataImport/Business/Importer/ProductConcreteDataImporter.php:55",
              "/data/src/Pyz/Zed/DataImport/Business/DataImportFacade.php:225",
              "/data/src/Pyz/Zed/DataImport/Communication/Plugin/ExampleProductMiddlewareConnector/ExampleProductImporterPlugin.php:22",
              "/data/src/Pyz/Zed/ExampleProductMiddlewareConnector/Business/Stream/DataImportWriteStream.php:92",
              "/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Business/Process/Processor.php:123",
              "/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Business/ProcessFacade.php:166",
              "/data/vendor/spryker-middleware/process/src/SprykerMiddleware/Zed/Process/Communication/Console/ProcessConsole.php:180",
              "/data/vendor/symfony/console/Command/Command.php:255",
              "/data/vendor/symfony/console/Application.php:1018",
              "/data/vendor/symfony/console/Application.php:271",
              "/data/vendor/spryker/console/src/Spryker/Zed/Console/Communication/Bootstrap/ConsoleBootstrap.php:110",
              "/data/vendor/symfony/console/Application.php:147",
              "/data/vendor/spryker/console/bin/console:27"
            ]
          }
        },
        "item": {
          "SprykerMiddleware\\Zed\\Process\\Business\\Stream\\XmlReadStream": []
        }
      }
    }
  • a

    astonishing-lamp-41374

    03/03/2021, 12:13 AM
    Heya, Anyone out there with some in-depth product/middleware knowledge, was experimenting with linking together the middleware to write products to the db, but with the standard shop setup it chokes on setting up the DE store
    p
    • 2
    • 3
  • m

    mysterious-king-59256

    03/03/2021, 11:54 AM
    Hello, I created something similar to the checkout process, but I need to have some get parameters in the each step url. In the step code i can return only route id and not full url. Do you know if there is any easy way to add get parameters to the step engine url (without rewriting step engine)?
  • w

    witty-jordan-77597

    03/03/2021, 5:49 PM
    Hi, can anyone tell me why Spryker added or changed the extends on Twig files? not at all files but on many:
    Copy code
    {% extends model('component') %}
    {% import model('component') as component %}
    when do we use this import?
    n
    • 2
    • 4
  • p

    polite-lunch-97479

    03/04/2021, 4:23 PM
    I'm trying to use
    SprykerTest\Shared\Sales\Helper\SalesDataHelper->haveOrderFromQuote()
    to create a test order. Seems to work basically, but I'm running into issues when using custom pre save plugins. In
    Pyz\Zed\Sales\SalesDependencyProvider->getOrderItemExpanderPreSavePlugins()
    there is a plugin which is located in a different module (ProductAttribute). The plugin itself is calling a function from its module's facade, of course. When executing the test, it dies telling me that the facade function doesn't exist. This is because the test uses the ProductAttributeFacade from core, not the one on project level. Any idea what's going wrong here?
    s
    i
    • 3
    • 6
  • f

    fresh-tent-43300

    03/05/2021, 7:33 AM
    Hey! I try to set up permissions for a user to use Return Management in the back office. Does anyone know which controller/action is needed to trigger the state machine? I used bundle 'sales-return-gui' to access the page, but clicking the button is not allowed
    a
    • 2
    • 3
  • b

    brave-refrigerator-68851

    03/05/2021, 9:08 AM
    Hello, we have a problem with twig-files and a second namespace beside "Pyz". (Let's it call "OwnNS") With the current spryker-codebase the "Pyz" is preferably used before "OwnNS". Looking into the .pathCache-File, i can see, it recognizes the second namespace, but not in the correct way. In the config-files, the namespace has been correctly set to "OwnNS" and also been added to the namespaces, even before the "Pyz"-namespace. I also completely removed any volumes and images from docker, used a clean workspace and docker/sdk and even performed a complete restart of my windows-machine. But now, it only seems to be this way on WSL2 and on Servers, but on MacOS it works correct? Has anyone else this Problem?
    a
    • 2
    • 1
  • b

    blue-continent-9575

    03/05/2021, 9:50 AM
    Hi, I cannot click anywhere in the Zed Backend (all of a sudden). Other colleagues don’t have the problem. The reason is, that I get some JS errors, see below. Any suggestions? I already tried to rebuild zed, clear cache, reinstall dependencies and completely rebuild the whole docker setup
    Copy code
    Uncaught Error: Cannot find module 'get-root-node-polyfill/is-implemented'
        webpackMissingModule commons.js:12
        js commons.js:12
        Webpack 6
            __webpack_require__
            js
            __webpack_require__
            checkDeferredModules
            <anonymous>
            <anonymous>
    commons.js:12:28
    Uncaught TypeError: can't access property "ext", $.fn.dataTable is undefined
        setTableErrorMode data-table.js:32
        js init.js:59
        jQuery 13
        Webpack 8
    data-table.js:32
  • j

    jolly-night-88032

    03/05/2021, 12:07 PM
    Hey.. I’m facing an issue where only 10 facet values are visible in my search filter. Is there any configuration I’m missing out which limits the values in the yves to 10 ?
    h
    • 2
    • 6
  • a

    ancient-apartment-59274

    03/05/2021, 5:35 PM
    Hello, in spryker it seems the redis storage client has some kind of caching functionality that might be senseful in most cases. However, i would like to access a redis value in one spryker module, that was short time before written by another module to redis. Unfortunately, the new value is in redis (set breakpoint and look with some redis client, its there) but the old value is still in the storage buffer and gets returned instead. Is there some kind of “exceptional list” for keys or something like this that i could use to avoid this behaviour? Or is it just solvable by calling some
    unsetCachedKey
    after performing the storage write operation? I would really like to avoid tons of custom classes just because of a missing
    ->unsetCachedKey()
    call, since both places are spryker core code. 😉 Thanks and have a nice weekend
    • 1
    • 1
  • i

    important-market-27247

    03/07/2021, 7:45 PM
    hello, i am new to spryker. So what is the best way to install spryker in local system Docker or Using vagrant? is there any video source available for installation
    a
    s
    • 3
    • 15
1...333435...102Latest