Skip to content
#

shopware

Here are 304 public repositories matching this topic...

vue-storefront
Fifciu
Fifciu commented Jun 22, 2021

Currently, catch block is the same for both methods in useForgotPasswordFactory (https://github.com/vuestorefront/vue-storefront/pull/5971/files/0e001721be751b0b0130915023ea0867722e1065#diff-89077440c1264480ee6ffbbcfb08d6c64c9881bea61ebbd8e0e5d260085b66ad):

err.message = err?.graphQLErrors?.[0]?.message || err.message;

Let's create an external function that takes care of that a

platform
Xarno
Xarno commented Oct 27, 2021

PHP Version

8.0.8

Shopware Version

6.4.5.1

Expected behaviour

Function getCriteria in ProductStream should not add an empty Array as Argument for EqualsAnyFilter.

Actual behaviour

It can add empty array. And that leads to broken searches, because then the Criteria will only lead to empty results.
Yes the shopware code itself does not look like it does that. But still … it's

Improve this page

Add a description, image, and links to the shopware topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the shopware topic, visit your repo's landing page and select "manage topics."

Learn more