Skip to content
This repository has been archived by the owner on Apr 9, 2021. It is now read-only.

Commit

Permalink
block loading of original data fixtures, if overridden
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
grossmannmartin committed Dec 13, 2018
1 parent c477436 commit 7bd9248
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Shopsys/ShopBundle/Resources/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 7bd9248

Please sign in to comment.