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

finite.yml override issue #54

Open
umpirsky opened this issue Jun 9, 2014 · 0 comments
Open

finite.yml override issue #54

umpirsky opened this issue Jun 9, 2014 · 0 comments
Labels
Milestone

Comments

@umpirsky
Copy link

umpirsky commented Jun 9, 2014

I have custom core bundle in my Sylius app, and have src/Umpirsky/Bundle/CoreBundle/Resources/config/finite.yml file where I override:

finite_finite:
    sylius_order_shipping:
...

The problem is that sylius_payment callbacks are not loaded at all for some reason. And when I put:

    sylius_payment:
        callbacks:
            after:
                sylius_update_order:
                    on:   'complete'
                    do:   [@sylius.callback.order_payment, 'updateOrderOnPayment']
                    args: ['object']

here it gets loaded twice, once under sylius_update_order key in array loader and once under 0 key. 😖 So its called twice.

Am I doing something wrong or this is a bug in Finite?

@yohang yohang added the bug label Nov 30, 2015
@yohang yohang added this to the 1.1 milestone Nov 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants