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

    strong-winter-32294

    03/08/2021, 9:40 AM
    Hello community, after a recent update (spryker/product-management 0.19.16 > 0.19.17) the product-management GUI in zed stopped working. The ajax-request which fetches the table-data fails with this error:
    Copy code
    Cannot determine the column to bind to the parameter in clause "SpyProductAbstractLocalizedAttributes.fkLocale = ?".
    I kinda tracked it down to this line: https://github.com/spryker/product-management/blob/master/src/Spryker/Zed/ProductManagement/Communication/Table/ProductTable.php#L147 If changed from
    fkLocale
    to
    fk_locale
    (like the database-column-name) it works. Is it a known problem or do I have do update other dependencies to get it back working again?
    s
    a
    f
    • 4
    • 21
  • a

    ancient-apartment-59274

    03/08/2021, 12:44 PM
    Hello, is it possible in spryker to remove a buffered value from the storage client? I want to reload a value that changed meanwhile in the storage since it was loaded first. I saw
    unsetCachedKey()
    but the value still remains in the buffer, so it seems the buffer is not touched when removing the key. Any suggestions?
  • k

    kind-tomato-4671

    03/08/2021, 7:12 PM
    hi! Help me please. How i can create new template in Pyz/Yves/ShopUi/Theme/default/templates for home page?
  • n

    nutritious-angle-64267

    03/09/2021, 11:49 AM
    Hey Guys, is there any way for pass first form transfer object to second form, like checkout process, I'm creating multi-step form. Anyone have solution/idea please share, thanks
    m
    • 2
    • 1
  • w

    wide-wolf-99519

    03/09/2021, 12:39 PM
    hi, I had to override one of customer facade methods, but it seems that when I call this method in one of my modules, the original method is called, in my module Im uding factory getContainer()->getLocator()->customer()->facade() to access customer facade, am I doing something wrong? what do I have to do to use my custom facade?
    p
    a
    m
    • 4
    • 6
  • a

    astonishing-lamp-41374

    03/09/2021, 8:52 PM
    Hey when I am extending a db table can I not add a unique column?
    Copy code
    <table name="spy_stock">
                <unique name="spy_stock-other_id">
                    <unique-column name="other_id" type="VARCHAR" size="10" required="false"/>
                </unique>
    ...
    Copy code
    Executing migration PropelMigration_1615322855 up
    Propel\Runtime\Exception\RuntimeException - Exception: <error>Failed to execute SQL "CREATE UNIQUE INDEX `spy_stock-other_id` ON `spy_stock` (`other_id`(10))". Aborting migration.</error>
    f
    • 2
    • 4
  • h

    happy-addition-42792

    03/10/2021, 8:45 AM
    FYI: https://github.com/spryker/product-attribute-gui/blob/master/src/Spryker/Zed/ProductAttributeGui/Presentation/View/_partials/add-attribute-form.twig#L17 there is an accidental
    c
    which shows up when managing attributes for an abstract product
    ✅ 1
    d
    • 2
    • 1
  • b

    blue-horse-99684

    03/10/2021, 10:31 AM
    Hello o/, we updated our dependencies. one of the dependency that has been updated was
    spryker/discount
    from
    9.11.0
    to
    9.11.3
    Version
    9.11.3
    updated the dependency
    @spryker/jquery-query-builder
    from
    ~2.5.2"
    to
    ~2.5.2-spryker.1
    [1]
    Spryker/jquery-query-builder
    requires
    jQuery.extendext
    [2] but does not contain this dependency in the
    package.json
    [3], like in the original
    package.json
    [4]. due to this missing dependency our deployment is faulty and our zed ui backoffice is without any asset. can someone help? what migration steps are needed to be done or can we create an bug ticket $somewhere? thanks in advance :) [1] https://github.com/spryker/discount/compare/9.11.2...9.11.3 [2] https://github.com/spryker/jquery-query-builder/blob/2.5.2-spryker.1/README.md [3] https://github.com/spryker/jquery-query-builder/blob/2.5.2-spryker.1/package.json [4] https://github.com/mistic100/jQuery-QueryBuilder/blob/2.5.2/package.json#L15
    m
    a
    +2
    • 5
    • 24
  • w

    wide-wolf-99519

    03/10/2021, 11:18 AM
    I'm looking at generated order transfer and many (if not all) methods related to shipment are marked as deprecated, what should I use instead?
    m
    • 2
    • 13
  • t

    thankful-musician-51132

    03/10/2021, 12:17 PM
    Hey Guys, I'm facing issue while login in Yves and Zed UI. Anyone have solution for this.
    m
    f
    h
    • 4
    • 6
  • p

    purple-forest-91115

    03/11/2021, 5:38 PM
    This message was deleted.
    p
    p
    a
    • 4
    • 4
  • l

    late-oil-50726

    03/11/2021, 6:11 PM
    Sorry, for deleting my former post. But, since there is to much risk of exposing a possible XSS vulnerability in ZED, we decided to not talk publicly about it. The report is on it's way to security@
    ✅ 1
    👍 1
    p
    • 2
    • 2
  • a

    ancient-apartment-59274

    03/12/2021, 8:40 AM
    Hello, for the merchant relationship feature, there is a
    spy_merchant_relationship
    table which represents the m:n mapping between the
    spy_merchant
    and
    spy_company_business_unit
    using the the ids of both as foreign key in
    spy_merchant_relationship
    … However, there is another table
    spy_merchant_relationship_to_company_business_unit
    which represents another m:n relation between
    spy_company_business_unit
    and
    spy_merchant_relationship
    … Do i miss something or isn’t the second table some kind of redundant information since its already represented by the first one? I just wonder why my relation was not created but it seems my facade call didn’t consider this table. Best
    i
    s
    • 3
    • 14
  • p

    polite-lunch-97479

    03/12/2021, 2:06 PM
    Spryker\Yves\Kernel\Controller\AbstractController->redirectResponseExternal()
    is deprecated and the doc block advises me to use
    Spryker\Yves\Kernel\Plugin\EventDispatcher\RedirectUrlWhitelistValidationEventDispatcherPlugin
    instead. But there's no such class available. What package do I need to update to get it?
    s
    • 2
    • 7
  • w

    wide-wolf-99519

    03/12/2021, 2:40 PM
    hi, I've got a question regarding OMS: what does it mean that a path is happy?
    p
    h
    p
    • 4
    • 8
  • a

    astonishing-lamp-41374

    03/12/2021, 8:01 PM
    Hey when you extend a DB table do you also need to extend the dataImport module that writes initial data? i.e. if I extended the spy_stock table with a field called
    description
    =>
    console data:import:stock
    then I would need to update the writer step or something?
    p
    f
    • 3
    • 17
  • s

    silly-motherboard-93855

    03/15/2021, 10:24 AM
    What could be the reason for messages having acknowledge: true (in \Spryker\Zed\Queue\Business\Task\TaskManager::postProcessMessages) but not removed from the queue (items still visible in rabbit UI and rerunning the command parses same messages)?
    a
    • 2
    • 2
  • w

    wide-wolf-99519

    03/15/2021, 1:42 PM
    is there a way to get sales order from a period of time using just facade?
    a
    • 2
    • 2
  • m

    mysterious-king-59256

    03/16/2021, 12:28 PM
    Hello, I added 2nd store with shared persistence and same locale to our system and have one problem. Redis for first store contains 5k+ keys and for new store it contains less than 1k keys. It doesn't contain even glossary translations, just products, cms_pages and cms_blocks, but pages don't work (404). Main navigation also isn't rendered
    w
    • 2
    • 20
  • w

    wide-easter-55589

    03/17/2021, 10:44 AM
    Hi, we are facing the problem that not all used php modules are declared as composer platform dependencies. You are using a posix command in https://github.com/spryker/spryker-core/blob/master/Bundles/Kernel/src/Spryker/Zed/Kernel/RequestIdentifier.php but ext-posix is not declared as a dependency in https://github.com/spryker/spryker-core/blob/master/Bundles/Kernel/composer.json. Can you please fix this?
    a
    • 2
    • 1
  • m

    mysterious-king-59256

    03/17/2021, 11:05 AM
    Hello, Do you know if it's possible to use multi store with same domain with path prefix (similar to language)? Eg shop.com/en and shop.com/de, but not for language, but for store
    a
    • 2
    • 5
  • a

    ancient-apartment-59274

    03/17/2021, 12:36 PM
    Hi everybody, since there are often questions in our teams when it comes to asynchronous calls from yves frontend to the zed backend (using ajax etc.) … “glue” is meant almost everytime and i am a bit unsure now^^ Does it make sense to involve the glue API here when we use yves general but want to make some of the parts of the page async loaded? For my understanding, when we use yves anyway it would make sense to stick to a controller in yves to render json for the frontend. Just to be sure: are there any cases/experiences when it make sense to involve the glue API? For my understanding not really, since glue is at the same level as yves on architecture, it should not be “mightier” than the yves framework, or am i completely wrong? In case of a product detail page for example i would render just json with the data that is required in the frontend instead of the whole html … on the other side, glue does have a “standardized” request/response flow which i can imagine would be easier to implement … any experiences here? Best regards
    m
    l
    m
    • 4
    • 11
  • c

    crooked-accountant-90611

    03/17/2021, 12:51 PM
    Hello, How can I find product URL? I have product entity and I'd like to return the URL. Is there any helper to do that or should I find it in the DB (where?)?
    p
    • 2
    • 6
  • h

    hallowed-printer-40886

    03/17/2021, 5:27 PM
    Howdy, in scope of our update schedule we noticed the spryker/category module was released in version 5.0 a month ago. Current category-gui module not yet supports that new version and also there is no migration guide so far. We do not use/need the gui, so what is your recommendation about updating the module? Is a migration guide planned? Thanks!
    a
    • 2
    • 2
  • a

    astonishing-lamp-41374

    03/18/2021, 7:54 PM
    Heya, so I got some middleware and it's pulling in a file that represents the stock available at different warehouses. so I'm thinking that middleware should connect up with the ProductStockHydrator, only thing is, one of the columns in the hydrator is
    name
    which represents the name of the warehouse were the stock will reside. Cool. The incoming file has this data referenced as an external id that has already been written to the
    spy_stock
    table. This id is also available in the file coming in from the middleware... basically a foreign key for lookup. Question is do I need to build a repository with it's accompanying interface and plugin to it to lookup the name from the
    spy_stock
    table with the id? so I can make the product to the warehouse. and if Ido need to do that, is this is a decent example of that being done https://github.com/spryker/blog-example/blob/master/src/Spryker/Zed/Blog/Persistence/BlogRepository.php
  • g

    green-motorcycle-81841

    03/19/2021, 7:38 AM
    Good morning everybody, we have a special problem (B2B): If a company user shares a shopping list with another company user, this share disappears after approx. 2 hours. It's like magic, we can't find where thats happens. Has anyone a similar problem before? 🙏
    😮 2
    👀 1
    👋 1
    m
    a
    • 3
    • 14
  • m

    mysterious-pencil-76046

    03/19/2021, 8:16 AM
    Good morning! Does anyone have experience with recalculating an already placed order? For example in case of cancelled positions by an external erp system? Usecase: an order is placed in the spryker shop, exported to an erp system and the erp system removes one or multiple items because of there was a problem with stock or the customer calls the support and asks for removing a position from an order or similar. Thanks in advance!
  • c

    calm-ocean-17799

    03/19/2021, 9:25 AM
    @mysterious-pencil-76046 did you try \Spryker\Zed\Sales\Business\SalesFacade::updateOrder ? as I see it is used in SalesReclamationToSalesFacadeBridge, RefundToSalesBridge, and in customer Update action. In my version of Spryker , it uses \Spryker\Zed\Sales\Business\Model\Order\OrderUpdater and inside there are methods
    Copy code
    createOrderTotals
    updateOrderItems
    updateOrderExpenses
    judging the names, looks promising 🙂 The only thing, you might probably need to create respective method in \Spryker\Client\Sales\SalesClient to call this SalesFacade::updateOrder()
    👍 1
  • w

    wide-wolf-99519

    03/19/2021, 10:01 AM
    I guess this one is for someone from spryker team, propel facade provides method getConsoleCommands which can be used in console data provider, I must say I was thinking about such solution as it improves code readability greatly, so instead of list of all commands you want to register, which may be quite a lot, you merge lists pulled from different modules, obvious negative side is that you have less control on which command is registered and which is not, also, I haven't seen this solution to be implemented in other packages is there any reason for that? would you encourage moving lists of commands and plugins to their respective modules? or would you advise againts it?
  • a

    ancient-apartment-59274

    03/19/2021, 11:11 AM
    Hello, we are trying to extend the ProductController from the productdetailpage to provide another route for giving parts of the productview as json response. Since this not a usual route registered via RouterDependencyProvider but via StorageRouterDepedencyProvider we have no clue how to register a new route here … The matching action should be ‘detail’ but thats not the path from the url … url is something like “yves.local/en/test-product-with-a-speaking-url” which match the detail action automatically … how to add some route for providing data in json format?… Best
    • 1
    • 1
1...343536...102Latest