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

Lacking debug:winzou #9510

Closed
gustawdaniel opened this issue Jun 19, 2018 · 4 comments
Closed

Lacking debug:winzou #9510

gustawdaniel opened this issue Jun 19, 2018 · 4 comments
Labels
DX Issues and PRs aimed at improving Developer eXperience. Good First Issue Bugs and feature proposals, which are relatively simple to implement for newcomers. Potential Bug Potential bugs or bugfixes, that needs to be reproduced.

Comments

@gustawdaniel
Copy link

Sylius version affected: v1.2.0

Description

I docs

http://docs.sylius.com/en/latest/cookbook/shop/checkout.html

There is presented command:

php bin/console debug:winzou:state-machine

but applying this give error

  There are no commands defined in the "debug:winzou" namespace.  
                                                                  
  Did you mean one of these?                                      
      debug                                                       
      debug:payum 

Steps to reproduce

Install Sylius in Ubuntu using composer

https://sylius.com/download/

Use command

php bin/console debug:winzou:state-machine

https://sylius.com/download/

Possible Solution

Update docs or dependencies.

@gustawdaniel
Copy link
Author

I had discussion on slack

https://sylius-devs.slack.com

with @shql about this command. To make this command working I installed older version of Sylius by command:

composer create-project sylius/sylius-standard=1.1.5 project_name

In newest version it seems to be broken.

@shql
Copy link
Contributor

shql commented Jun 20, 2018

Hey, I reproduced this with a bare Symfony 4.1 install and just installing the winzou-bundle. The commands did not show up as available. Adding a custom command via console worked as expected. That's why I think it's an issue with the winzou state machine in connection with Symonfy 4.

@mikemix
Copy link
Contributor

mikemix commented Jun 26, 2018

Same here guys, using Symfony4. Found this thread on SO.

Solution:

    winzou\Bundle\StateMachineBundle\Command\winzouStateMachineDebugCommand:
        tags: ['console.command']

has to be added to app/config/services.yml and command will start working as it should. Cheers.

@CoderMaggie CoderMaggie added Potential Bug Potential bugs or bugfixes, that needs to be reproduced. Good First Issue Bugs and feature proposals, which are relatively simple to implement for newcomers. DX Issues and PRs aimed at improving Developer eXperience. labels Jun 29, 2018
@pamil
Copy link
Contributor

pamil commented Jul 1, 2018

This is not a Sylius issue, could you open one for WinzouStateMachine (or open a PR there fixing it, there's one related here: winzou/StateMachineBundle#43)?

@pamil pamil closed this as completed Jul 1, 2018
michz added a commit to michz/SyliusTicketingPlugin that referenced this issue Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Issues and PRs aimed at improving Developer eXperience. Good First Issue Bugs and feature proposals, which are relatively simple to implement for newcomers. Potential Bug Potential bugs or bugfixes, that needs to be reproduced.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants