#37929 - Fix problem with cache

1. Why is this change necessary?

To set solve a problem with cache.

2. What does this change do, exactly?

  • It invalidates the cache

3. Describe each step to reproduce the issue or behavior.

- Warenkorb mit Bestellsumme 0,- erstellen (beispielsweise durch eine Promotion)
- Confirm Seite besuchen
=> Zahlart "Free"

- Warenkorb auf > 0,- bringen (z.B. Artikel hinzufügen, der nicht von der Promotion gedeckt ist)
- Confirm Seite besuchen
=> Zahlart "Free" wird immer noch angeboten => FEHLER

- Cache in Administration leeren
- Confirm Seite aktualisieren
=> Zahlart "Free" nicht verfügbar => RICHTIG

Use the Shopware docker container therefore: docker run --rm -p 80:80 -e VIRTUAL_HOST=localhost shopware/testenv:6.3.0

User: demo Pass: demo

Frontend: http://localhost/shop/public/ Backend: http://localhost/shop/public/admin#/

https://redmine.netinventors.de/issues/37929

5. Checklist

  • I have updated the plugin version and changelog
  • I can confirm the code style fits our requirements
  • I can confirm that no debug output is generated anywhere
  • I have changed the required NetiFoundation-version to the latest available version
Edited by Malte Peters

Merge request reports

Loading