Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Console] Run time exception in shell mode #7231

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

Closed
FabienD opened this issue Mar 1, 2013 · 1 comment
Closed

[Console] Run time exception in shell mode #7231

FabienD opened this issue Mar 1, 2013 · 1 comment

Comments

@FabienD
Copy link
Contributor

FabienD commented Mar 1, 2013

With the Symfony 2.2.0 stable release, the console in shell mode has stopped working. The console throws a "Run time exception" every time you run a command.

Welcome to the Symfony shell (2.2.0 - app/dev/debug).

At the prompt, type help for some help,
or list to get a list of available commands.

To exit the shell, type ^D.

Symfony > assetic:dump 



  [RuntimeException]   
  Too many arguments.  

Seems to be linked with this commit :

f52120b

Fabd

@fabpot
Copy link
Member

fabpot commented Mar 1, 2013

fixed by #7232

@fabpot fabpot closed this as completed Mar 1, 2013
fabpot added a commit that referenced this issue Mar 6, 2013
This PR was merged into the 2.1 branch.

Commits
-------

6681df0 [Console] fixed StringInput binding
6b98883 [Console] added string input test
32f1904 Revert "merged branch jfsimon/issue-6749 (PR #7220)"

Discussion
----------

[Console] fixes tests

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #7231

---------------------------------------------------------------------------

by gigablah at 2013-03-02T13:25:10Z

Apparently 5b19c89 broke the console shell. I was wondering why all commands executed through the shell in 2.2.0 were throwing "Too many arguments" exception.

---------------------------------------------------------------------------

by stof at 2013-03-02T13:27:09Z

@gigablah This is already fixed in the 2.2 branch as this PR has already been merged in 2.2 (but the revert is also needed in 2.1)

---------------------------------------------------------------------------

by gigablah at 2013-03-02T13:51:44Z

Ah, guess I'll have to wait for it to be pushed to the symfony/console repository then.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants