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

    sparse-fall-78248

    05/13/2020, 1:17 PM
    Another question, this time about testing: I'm currently running tests via GitLab CI and I have to pretty much assemble an entire stage in there. It's possible but not terrific. Is there a better / smaller way to setup a testing environment with maybe just the application and a database?
    f
    s
    • 3
    • 5
  • c

    calm-lamp-45600

    05/13/2020, 3:16 PM
    Hi where can I get a documentation how fetching product-set from glue via catalog-search
    a
    • 2
    • 5
  • r

    refined-psychiatrist-31162

    05/13/2020, 6:04 PM
    I have an interesting issue. @SprykerDevs In our project sometimes during deployments we get unexpected Propel migration failures.
    Copy code
    Executing migration PropelMigration_xxxxx up
    Propel\Runtime\Exception\RuntimeException - Exception: Failed to execute SQL "CREATE SEQUENCE "spy_product_set_storage_pk_seq"". Aborting migration.
    In such case somebody should login to DB and manually delete the culprit sequences and re-run the deployment, after that it works. However, it is very annoying. Does anybody also getting these errors? What could be the automatic workaround for such cases?
    s
    m
    • 3
    • 15
  • a

    acoustic-businessperson-27970

    05/14/2020, 2:22 PM
    hallo again 🙂 can someone please tell me how does
    *_storage
    tables get filled?
    l
    • 2
    • 3
  • g

    gentle-architect-75453

    05/14/2020, 4:41 PM
    Hi there 🙂 I have a question concerning data import - scenario is two stores, A and B, same Codebase. StoreA has DE and EN, StoreB has only EN - and now the problem kicks in. I have to separate the data, as StoreB das not understand the locale DE. I solved the problem by renaming the csv files and attaching the storeName dynamically with
    Store::getInstance()->getStoreName()
    How do I cope with the tests? There are hardcoded strings that point e.g. to
    company_user.csv
    - If i rename the csv to company_user_DE.csv e.g. the test won’t work anymore. Thanks 🦄
    d
    a
    s
    • 4
    • 15
  • c

    clean-glass-99425

    05/15/2020, 10:04 AM
    Dear Community, we are currently using the
    cms-block-storage
    module 1.2.1 and I want to update this to it's latest 2.1.0 version as we need that version because it will update a block in all stores and all their languages and not just in the languages of the current store. I am exactly talking about
    \Spryker\Zed\CmsStorage\Business\Storage\CmsPageStorageWriter::getLocaleNameMapByStoreName
    which before was done by just calling
    $localeNames = $this->store->getLocales();
    Updating that one module ended up in updateing a lot more: • "spryker-shop/cms-block-widget": "~1.0.1" to "~2.1.0" • "spryker/cms-block": "2.1.1" to "~3.0.2" • "spryker/cms-block-category-connector": "~2.1.5" to "~2.3.0" • "spryker/cms-block-category-storage": "~1.2.1" to "~1.4.2" • "spryker/cms-block-gui": "~2.1.1" to "~2.4.0" • "spryker/cms-block-product-connector": "~1.1.4" to "~1.3.0" • "spryker/cms-block-product-storage": "~1.2.1" to "~1.4.1" • "spryker/cms-block-storage": "~1.2.1" to "~2.1.0" • "spryker/product": "~6.7.0" to "~6.12.0" I use "~" because Spryker will break if you use "^" and do a composer update. One thing that makes me uneasy is that this will increase
    spryker/product
    by 5 minor versions as the spryker/cms-block-product-connector has a hard dependency here. Still that didn't break our system. What did break our system is the deprecation and final removal of
    CmsTwigFunctionServiceProvider()
    and
    CmsBlockTwigFunctionServiceProvider()
    . So now those two are
    CmsTwigPlugin()
    and
    CmsBlockTwigPlugin()
    and those won't belong into
    registerServiceProviders()
    providers anymore. Sadly I now don't know what to do as it seems the YvesBootstrap did change. If I take a look at the current YvesBootstrapk in the
    spryker-shop/b2b-demo-shop
    it doesn't tell me where to register those plugins now. All in all this means there is a BC break inside of those modules as the don't seem to run with our older application stack now. To me it seems there are now 2 Versions of Spryker and at some point you have to do the transition from the old one to the new. And there is no feature update for the old API versions of the modules. I would be happy about any suggestion.
    d
    l
    +2
    • 5
    • 27
  • a

    acoustic-businessperson-27970

    05/15/2020, 10:59 AM
    Hi again 🙂 In
    stores.php
    we have :
    storesWithSharedPersistence
    countries
    can some one please help me understand how do these values affect the operation of Spryker? thanks a lot
    d
    f
    • 3
    • 23
  • a

    ancient-apartment-59274

    05/15/2020, 3:45 PM
    Hello everybody, does anyone has an idea why the web profiler for zed isn’t working anymore? The request
    Copy code
    zed.de.dev.local/_profiler/d66fd9
    seems to work for example, but all other elements in the toolbar like
    Copy code
    zed.de.dev.local/_profiler?token=d66fd9&panel=request
    does not The web profilers are enabled via the spryker config but it always throws the exception
    Copy code
    No route found for "GET /_profiler" (from "<http://zed.de.dev.local/>")
    Any ideas? Where to add this routes? (I always followed the spryker guide for activating profiling module for zed) Have a nice weekend 🙂
    f
    • 2
    • 2
  • a

    acoustic-businessperson-27970

    05/18/2020, 12:17 PM
    Hallo all, How can we make Spryker generate URLs for store that has two english locales? like en_GB and en_IE,
    d
    m
    a
    • 4
    • 31
  • v

    victorious-guitar-76613

    05/18/2020, 1:43 PM
    @victorious-guitar-76613 has left the channel
  • a

    acoustic-motherboard-16553

    05/18/2020, 2:23 PM
    Hi, could it be possible that you have intruced a new bug in spyker/sales? https://github.com/spryker/sales/blob/dc04c502ca4d11b6175dd680cf257d303fe17507/src/Spryker/Zed/Sales/Business/Model/Order/OrderHydrator.php#L160
    f
    g
    a
    • 4
    • 16
  • c

    crooked-house-89121

    05/19/2020, 5:24 AM
    Hello all, im trying to add a molecule to the starting page of the shop ui. The content of the twig gets loaded normally, but the the typescript I added is not being loaded. I registered it in the index.ts file:
    Copy code
    export default register('greeting', () => import(/* webpackMode: "eager" */'./greeting'));
    and during the
    frontend:yves:build
    it is written into the compiled javascript files. But the specific compiled js file is not loaded on the starting page where the molecule is included. Do I need to register the molecule in some way? Is there something else I’m missing? Thanks in advance
    d
    • 2
    • 3
  • s

    square-ability-13859

    05/19/2020, 7:55 AM
    Hi guys. I was wondering, is there some way to extend spryker tests or run them? You know, it's the same system we extend on, this way it would be nice to check if code that I extended breaks something down.
    l
    • 2
    • 5
  • m

    many-continent-24692

    05/19/2020, 2:14 PM
    Is there a way to get the current Symfony Request object from a plugin?
    l
    • 2
    • 3
  • a

    ancient-apartment-59274

    05/19/2020, 2:46 PM
    Hello, does anybody else has problems using the spryks with php 7.4? Seems there are some deprecation warnings with 7.4 in roave/better-reflection in 3.5.0 when generating code. There were some changes in roave/better-reflection 4.x regarding this deprecation warnings but the spryks package locks them down to 3.x … any idea?
    f
    • 2
    • 10
  • w

    witty-airline-10433

    05/19/2020, 4:36 PM
    Hello, is there a Sprkyer module for analyzing order data etc? Something in the direction Business Intelligence?
    âž– 2
    w
    • 2
    • 1
  • w

    witty-airline-10433

    05/20/2020, 8:49 AM
    Good morning. Ive been looking for a module to generate Order reports in Spryker. Didnt find any. Does somebody maybe know one? tnx
    a
    • 2
    • 5
  • a

    acoustic-businessperson-27970

    05/20/2020, 10:58 AM
    Hallo all, If search is not working, what should I check ? is there a good document about search in Spryker and how it works and how do I debug it? By not working I mean, that I search for a product and I get an empty result set Thanks
    n
    • 2
    • 9
  • l

    loud-rainbow-44827

    05/20/2020, 12:23 PM
    Hello. I need to fetch orders using customn filters. I also need payment information. Why there is no relation to spy_sales_payment table in
    src/Orm/Zed/Sales
    ? And how can I properly add joining with this table? Thanks.
    c
    l
    • 3
    • 32
  • a

    ancient-apartment-59274

    05/20/2020, 3:20 PM
    Hello, just tried oryx for zed with the “simple” version described in https://documentation.spryker.com/v4/docs/oryx-for-zed Unfortunately I am no frontend developer but what I expect after running
    npm run build-zed
    is that the zed backend gets build with all its magic … But the output is
    find
    â—Ź looking for entry points...
    âś” 79 found
    find
    â—Ź resolving core modules deps...
    âś” 0 found
    build
    â—Ź using webpack 4.27.1
    â—Ź building assets...
    â—Ź webpack output:
    ERROR in ./vendor/spryker/gui/assets/Zed/sass/main.scss
    Module build failed (from ./node_modules/@spryker/oryx-for-zed/node_modules/mini-css-extract-plugin/dist/loader.js):
    ModuleBuildError: Module build failed (from ./node_modules/@spryker/oryx-for-zed/node_modules/sass-loader/lib/loader.js):
    @import '~bootstrap-sass/assets/stylesheets/bootstrap';
    ^
       
    File to import not found or unreadable: ~bootstrap-sass/assets/stylesheets/bootstrap.
       
    in /Users/ikaiser/projects/suite/vendor/spryker/gui/assets/Zed/sass/main.scss (line 8, column 1)
      
    at /Users/ikaiser/projects/suite/node_modules/@spryker/oryx-for-zed/node_modules/webpack/lib/NormalModule.js:301:20
      
    at /Users/ikaiser/projects/suite/node_modules/loader-runner/lib/LoaderRunner.js:367:11
      
    at /Users/ikaiser/projects/suite/node_modules/loader-runner/lib/LoaderRunner.js:233:18
      
    at context.callback (/Users/ikaiser/projects/suite/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
      
    at Object.callback (/Users/ikaiser/projects/suite/node_modules/@spryker/oryx-for-zed/node_modules/sass-loader/lib/loader.js:67:13)
      
    at Object.done [as callback] (/Users/ikaiser/projects/suite/node_modules/neo-async/async.js:8067:18)
      
    at options.error (/Users/ikaiser/projects/suite/node_modules/node-sass/lib/index.js:294:32)
     
    @ ./vendor/spryker/gui/assets/Zed/js/modules/commons.js 43:0-31
     
    @ ./vendor/spryker/gui/assets/Zed/js/spryker-zed-gui-commons.entry.js
    ...
    There is a very long list with packages that can not be resolved and if i look for example in the file above, there is indeed no bootstrap-sass folder in vendor that could be resolved but it is required in main.scss
    Copy code
    @import '~bootstrap-sass/assets/stylesheets/bootstrap';
    But it seems required in the packages.json of the gui module. But its not installed yet. Why is it not installed implicit with npm run build-zed? What to do to resolve all these missing dependencies? Best regards
    a
    h
    • 3
    • 7
  • g

    gray-engine-53418

    05/22/2020, 11:01 AM
    Hello everyone! We are trying to add some new fields to category nodes and return them in Glue. Everything worked fine until we started to set false values. When we set false as a value the field disappears from Glue. Do you have any suggestion on how to solve this issue, as for us the null value/missing field is different from false?
    i
    h
    • 3
    • 6
  • a

    acoustic-businessperson-27970

    05/22/2020, 1:18 PM
    Hi all, What do I need to adjust to make a storage key contain the locale. Example: URL entity is localised, but URL Storage is not (which is strange btw) so I want the storage key for url to contain locale I tried adding the following to `spy_url_storage.schema.xml`:
    Copy code
    <behavior name="synchronization">
        <parameter name="resource" value="url"/>
        <parameter name="locale" required="true"/>
        <parameter name="key_suffix_column" value="url"/>
        <parameter name="queue_group" value="sync.storage.url"/>
        <parameter name="queue_pool" value="synchronizationPool" />
    </behavior>
    But when I trigger events I get this error :
    Copy code
    Zed.CRITICAL: Propel\Runtime\Exception\PropelException - SQLSTATE[23502]: Not null violation: 7 ERROR:  null value in column "locale" violates not-null constraint
    what am I missing?
    g
    • 2
    • 5
  • m

    many-continent-24692

    05/25/2020, 9:16 AM
    đź‘‹ Is there a Spryk to generate the Client / Stub / Gateway Controller / ... ?
    s
    • 2
    • 2
  • j

    jolly-night-88032

    05/25/2020, 12:04 PM
    Hey đź‘‹ I face an issue right now when I create a guest cart via Glue. Making a request from my SPA the Options request will fail due to the missing custom header:
    X-Anonymous-Customer-Unique-Id
    .
    Copy code
    {
      "errors": [
        {
          "status": 400,
          "code": "109",
          "detail": "Anonymous customer unique id is empty."
        }
      ]
    }
    Am I missing something or is it correct that the request validator runs on preflight requests?
    i
    • 2
    • 2
  • a

    acoustic-motherboard-16553

    05/25/2020, 2:57 PM
    Hi, some question for
    Copy code
    /**
         * @deprecated Use {@link \Spryker\Zed\ProductPageSearch\ProductPageSearchDependencyProvider::getProductAbstractPageMapExpanderPlugins()} instead.
         *
         * @return \Spryker\Zed\ProductPageSearch\Dependency\Plugin\ProductPageMapExpanderInterface[]
         */
        protected function getMapExpanderPlugins()
    The function getProductAbstractPageMapExpanderPlugins in the DependencyProvider is missing, right?
  • l

    loud-rainbow-44827

    05/26/2020, 10:42 AM
    Hello. I have a problem with order item super attributes. It is always empty in
    spy_sales_order_item_metadata
    table. But product has it. I placed order with default products. Nothing was changed. Is it a bug or how can I get super attributes from order item?
    a
    • 2
    • 4
  • w

    witty-airline-10433

    05/26/2020, 12:25 PM
    Hello. Say, I have one product abstract with three concretes (variants). Now I want to define the default variant to show in Catalog (by default). Should I just edit the product abstract attributes for that in backend or there are also another options?
    d
    • 2
    • 11
  • a

    acoustic-motherboard-16553

    05/26/2020, 12:55 PM
    Update from 3.16 => 3.17 (https://github.com/spryker-shop/cart-page/releases) not backward compatible... not really semver like
    a
    • 2
    • 29
  • f

    full-rocket-52349

    05/26/2020, 7:07 PM
    Hello, we have a few attributes which we don't want to display in the yves frontend. Does anyone have a simple, clean way to do this, or is there a switch that I just haven't discovered?
    d
    • 2
    • 1
  • c

    calm-lamp-45600

    05/27/2020, 12:51 PM
    hello together, does anyone have any experience with expenseTransfer for shipping costs in NET_MODE it seems that this not working as expected in glue checkout the netPrice= 0 and grossPrice has the value of netPrice, also totals and tax calculation wrong
1...181920...102Latest