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

    many-portugal-10683

    08/15/2019, 2:23 PM
    hi, I have a question regarding test coverage
  • m

    many-portugal-10683

    08/15/2019, 2:23 PM
    in the current setup, when generating tested code coverage from codeception, we get many reports, one for each module
  • m

    many-portugal-10683

    08/15/2019, 2:23 PM
    is there a way to merge these?
    l
    • 2
    • 2
  • m

    many-portugal-10683

    08/15/2019, 2:23 PM
    my plan would be unify all tests from all modules together to get a single code coverage report
  • a

    average-branch-45579

    08/15/2019, 2:24 PM
    https://codeception.com/docs/08-Customization#One-Runner-for-Multiple-Applications Looks like this covers your request.
  • m

    many-portugal-10683

    08/15/2019, 2:44 PM
    hm, isn't that already there in /src?
  • b

    broad-journalist-66397

    08/20/2019, 1:42 PM
    Hi! I just installed the b2c demo shop using the docker sdk. When I click in spryk in zed I get an exception. Does anyone else have the same problem?
    a
    • 2
    • 6
  • p

    powerful-wolf-20961

    08/21/2019, 7:40 AM
    Hi all! I have a issue regarding git: I did merge with master into my current branch. I did the revert and know when I'm trying to do the merge again, doesn't work. What it is the best solution?
    s
    • 2
    • 13
  • s

    silly-motherboard-93855

    08/21/2019, 7:44 AM
    when running tests I get
    Copy code
    [Selenium browser Logs] 
      07:35:40.514 WARNING - ReferenceError: Can't find variable: Map
        ./vendor/spryker-shop/shop-ui/src/SprykerShop/Yves/ShopUi/Theme/default/app/registry.ts (<http://www.en.suite.local/assets/EN/default/js/yves_default.app.js:1735>)
        __webpack_require__ (<http://www.en.suite.local/assets/EN/default/js/yves_default.runtime.js:84>)
        ./vendor/spryker-shop/shop-ui/src/SprykerShop/Yves/ShopUi/Theme/default/app/index.ts (<http://www.en.suite.local/assets/EN/default/js/yves_default.app.js:1509>)
        __webpack_require__ (<http://www.en.suite.local/assets/EN/default/js/yves_default.runtime.js:84>)
        ./src/Pyz/Yves/ShopUi/Theme/default/app.ts (<http://www.en.suite.local/assets/EN/default/js/yves_default.app.js:42>)
        __webpack_require__ (<http://www.en.suite.local/assets/EN/default/js/yves_default.runtime.js:84>)
        (anonymous function) (<http://www.en.suite.local/assets/EN/default/js/yves_default.app.js:3516>)
        __webpack_require__ (<http://www.en.suite.local/assets/EN/default/js/yves_default.runtime.js:84>)
        checkDeferredModules (<http://www.en.suite.local/assets/EN/default/js/yves_default.runtime.js:46>)
        webpackJsonpCallback (<http://www.en.suite.local/assets/EN/default/js/yves_default.runtime.js:33>)
    what could be the reason for it missing?
  • s

    silly-motherboard-93855

    08/21/2019, 9:22 AM
    Second question: I run data:import (so imported glossary successfully) but I still see
    Copy code
    <http://global.spryker.shop|global.spryker.shop>
    global.spryker.motto
    on homepage. How do I make it show the translations?
    g
    m
    • 3
    • 6
  • f

    full-solstice-1892

    08/21/2019, 2:22 PM
    Hi there, The docu for the Product availabilty is not there, can someone update it? 🙏 https://documentation.spryker.com/404.htm?page=/capabilities/mailing_and_notifications/product_is_available_again/product-is-available-again-201903.htm
    a
    • 2
    • 3
  • q

    quick-ice-8442

    08/23/2019, 4:41 PM
    Hello everyone! Our application is using Glue to gather some data from a Spryker shop and we need do display links to those returned entities, but those links should lead to Yves, such that a user in our backend can visit the entities in the shop frontend. Glue seems to only return links to Glue itself, how can we build respective links to Yves? Or where is such a transition observable in the core? Thanks in advance!
    s
    a
    • 3
    • 4
  • s

    silly-motherboard-93855

    08/26/2019, 7:51 AM
    When I run
    vendor/bin/codecept run -c tests/PyzTest/Glue/Products
    I get:
    Copy code
    1) ProductAbstractRestApiCest: Load fixtures
     Test  RestApi/ProductAbstractRestApiCest.php:loadFixtures
                                                                                                                                                                                                                                                                          
      [ConfigurationException] Fixtures file could not be loaded: /data/shop/development/current/tests/PyzTest/Glue/Products/_support/_generated/PyzTest_Glue_Products_RestApi_ProductsRestApiFixtures.fixtures. Make sure that `codecept fixtures` has been run before.
    but there's no such thing as codecept fixtures:
    Copy code
    Command "fixtures" is not defined.
    I run codecept build earlier, but that didn't help. What else should I run to make this work? https://documentation.spryker.com/tutorials/introduction/t-testing-tdd-scos.htm doesn't help here.
    w
    p
    +3
    • 6
    • 30
  • s

    square-chef-44370

    08/26/2019, 7:52 AM
    Hi all, how to data:import product lists and the aggregate then products?
    s
    • 2
    • 10
  • s

    square-chef-44370

    08/26/2019, 8:15 AM
    Does anyone made an experience with rec-calculating product prices for the actual business unit of the customer?
    s
    a
    • 3
    • 2
  • s

    sparse-kangaroo-34355

    08/26/2019, 3:09 PM
    Hi all, has anyone already did a redirect, whenever the user is not logged in? We want to "close" our shop completely (more than hiding prices etc.) so the user has to pass the /login first. Thanks in advance 🙂
    w
    m
    m
    • 4
    • 15
  • s

    silly-motherboard-93855

    08/27/2019, 8:23 AM
    after latest composer update our deploy broke with:
    Copy code
    Symfony\Component\Console\Exception\LogicException - Exception: The command defined in "Spryker\Zed\DataImport\Communication\Console\DataImportConsole" cannot have an empty name. 
    
    in /vendor/symfony/console/Command/Command.php (453)
    but this is exactly what
    src/Pyz/Zed/Console/ConsoleDependencyProvider.php
    does when defining
    new DataImportConsole()
    what should we do? I see this is how it is made in https://github.com/spryker-shop/suite/blob/master/src/Pyz/Zed/Console/ConsoleDependencyProvider.php#L177 so this should work OK
    a
    m
    • 3
    • 7
  • f

    full-solstice-1892

    08/27/2019, 2:05 PM
    Hello! Is there an open b2b Admin access for the Yves demo?
    a
    • 2
    • 7
  • s

    sparse-kangaroo-34355

    08/28/2019, 10:11 AM
    Hi all, has anyone already implemented/ extended the role-specification? What I want to do is the following: We do have admins (identified by role) of a company-business-unit. The users, who are no admins in this BU (or in a nested one in this BU) shouldn't be able to access pages below
    /company/*
    . I've seen the
    ROLE_PREVIOUS_ADMIN
    already, but I'm just diving into this topic.
  • a

    acoustic-businessperson-27970

    08/30/2019, 6:37 AM
    is there a way to revert whatever was done by this command
    vendor/bin/install
    ? To revert the repo to its fresh state?
    a
    • 2
    • 6
  • s

    silly-motherboard-93855

    08/30/2019, 9:16 AM
    If I'd like to create orders programatically, which would be the best class to start with?
    l
    • 2
    • 5
  • s

    sparse-kangaroo-34355

    08/30/2019, 12:55 PM
    Has anyone been faced with occasionally not working updates on cms blocks? Every message passed by rabbitmq lands in event.error queue
    p
    s
    r
    • 4
    • 8
  • b

    bright-cat-24225

    09/02/2019, 2:50 PM
    Anyone any idea how to "best practise" overwrite schema.xml files which are provided from spryker?
    h
    • 2
    • 2
  • b

    bright-cat-24225

    09/02/2019, 2:50 PM
    f.e. vendor/spryker/product-page-search/src/Spryker/Zed/ProductPageSearch/Persistence/Propel/Schema/spy_product_page_search.schema.xml
  • f

    full-motorcycle-97796

    09/04/2019, 6:26 AM
    Hi <!channel>, is there any reasons why "UtilTextService" instantiates directly in "PropelSchemaMerger"? I think a bridge that will be injected over constructor is better solution.
    s
    q
    +2
    • 5
    • 16
  • s

    silly-motherboard-93855

    09/04/2019, 1:24 PM
    Where does codeception gets the idea the site is on
    <https://localhost/>
    ? I'm trying to run
    Copy code
    APPLICATION_ENV=devtest APPLICATION_STORE=EN vendor/bin/codecept run -c tests/PyzTest/Yves/Application/
    but I see it fails and the response I get is
    Copy code
    <!DOCTYPE html>
    <html>
        <head>
            <meta charset="UTF-8" />
            <meta http-equiv="refresh" content="0;url=<https://localhost/>" />
    
            <title>Redirecting to <https://localhost/</title>>
        </head>
        <body>
            Redirecting to <a href="<https://localhost/>">https://localhost/</a>.
        </body>
    </html>
    instead of the actual source for
    www.en.spryker-test.local
    that i have in config
    l
    • 2
    • 12
  • s

    sparse-kangaroo-34355

    09/05/2019, 8:50 AM
    Hi all, can someone tell me how I remove stores completely (including the vhosts and queues for rabbitmq)? My elasticsearch just crashed due to missing space (AT and US queues ran full of messages which were not proceeded. I do have a cronjob which purges queues daily). Not complete solution: would it be enough to just provide the required store (in my case DE ) in project/config/Zed/cronjobs/jobs.php instead of $allStores ?
    r
    • 2
    • 12
  • c

    clean-glass-99425

    09/06/2019, 3:13 PM
    I want to change the Zed UI and override a core template. But how can I now refer to the template that resides in /vendor? If I use
    {% extends @Customer/Presentation/View/index.twig' %}
    it will use my template. I will be as far as I tried resolved to my override module and not to the one in /vendor. I probably could use an absolute path but that seems a very bad idea. Any suggestions?
    p
    • 2
    • 1
  • m

    many-portugal-10683

    09/09/2019, 11:38 AM
    hi, any BC release notes for this package? https://github.com/spryker/product-page-search
    a
    • 2
    • 5
  • m

    many-portugal-10683

    09/09/2019, 11:38 AM
    we try to upgrade it but we get a weird behaviour
12345...102Latest