From 7bd924840c81503544217a1c0e37e04c3cafb095 Mon Sep 17 00:00:00 2001 From: Martin Grossmann Date: Thu, 13 Dec 2018 11:52:42 +0100 Subject: [PATCH] block loading of original data fixtures, if overridden - overriden data fixtures can be loaded before original, resulting in unwanted data and block loading of original data fixtures fix this problem - see shopsys/shopsys#568 --- src/Shopsys/ShopBundle/Resources/config/services.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Shopsys/ShopBundle/Resources/config/services.yml b/src/Shopsys/ShopBundle/Resources/config/services.yml index 6ab800c45..e712175dd 100644 --- a/src/Shopsys/ShopBundle/Resources/config/services.yml +++ b/src/Shopsys/ShopBundle/Resources/config/services.yml @@ -40,6 +40,10 @@ services: Shopsys\ShopBundle\Form\Front\Order\DomainAwareOrderFlowFactory: ~ + # Don't load data fixtures from FrameworkBundle, because they are overridden in ShopBundle + Shopsys\FrameworkBundle\DataFixtures\Demo\MailTemplateDataFixture: ~ + Shopsys\FrameworkBundle\DataFixtures\Demo\MultidomainMailTemplateDataFixture: ~ + Shopsys\FrameworkBundle\Model\Order\OrderFlowFactoryInterface: '@Shopsys\ShopBundle\Form\Front\Order\DomainAwareOrderFlowFactory' Shopsys\FrameworkBundle\Model\Article\ArticleFactoryInterface: '@Shopsys\ShopBundle\Model\Article\ArticleFactory'