Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] CreditMemoFactory has a dependency on a non-existent service "sylius_refund.factory.credit_memo" #411

Open
umpirsky opened this issue May 27, 2023 · 1 comment
Labels
Bug Confirmed bugs or bugfixes.

Comments

@umpirsky
Copy link

umpirsky commented May 27, 2023

SyliusRefundPlugin version affected: 1.3.0

Description

/srv/sylius # bin/console doctrine:migrations:migrate

In DecoratorServicePass.php line 84:
                                                                                                                                           
  The service "Sylius\RefundPlugin\Factory\CreditMemoFactory" has a dependency on a non-existent service "sylius_refund.factory.credit_memo".                                                                                                                                     

Steps to reproduce
Just follow installation insructions from README.

Possible Solution
Where is sylius_refund.factory.credit_memo service defined?

@umpirsky umpirsky added the Bug Confirmed bugs or bugfixes. label May 27, 2023
@JordiDekker
Copy link

@umpirsky Please check if you have the following configuration:

# config/packages/sylius_refund.yaml
imports:
    - { resource: "@SyliusRefundPlugin/Resources/config/app/config.yml" }

Also activating the Snappy bundle looks required:

// config/bundles.php

Knp\Bundle\SnappyBundle\KnpSnappyBundle::class => ['all' => true],
Sylius\RefundPlugin\SyliusRefundPlugin::class => ['all' => true],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed bugs or bugfixes.
Projects
None yet
Development

No branches or pull requests

2 participants